From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jaleel Ahmed Newsgroups: gmane.os.tru64.managers Subject: daemon process attached to a user Date: Tue, 21 May 2002 03:51:52 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20020521105152.3584.qmail@web13904.mail.yahoo.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021979506 4427 127.0.0.1 (21 May 2002 11:11:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 21 May 2002 11:11:46 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17A7YQ-00019B-00 for ; Tue, 21 May 2002 13:11:46 +0200 Original-Received: (qmail 17418 invoked by uid 5); 21 May 2002 10:52:11 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17410 invoked from network); 21 May 2002 10:52:11 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 21 May 2002 10:52:11 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWG00K58JIYBP@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 May 2002 06:52:10 -0400 (EDT) Original-Received: from web13904.mail.yahoo.com (web13904.mail.yahoo.com [216.136.175.67]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0GWG00GNFJIHB1@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 May 2002 06:51:54 -0400 (EDT) Original-Received: from [202.54.32.161] by web13904.mail.yahoo.com via HTTP; Tue, 21 May 2002 03:51:52 -0700 (PDT) Original-To: 'tru64unix Xref: main.gmane.org gmane.os.tru64.managers:262 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:262 Hi managers A programming related question .. i have written a sockets based server which takes requests from clients and depending on the requests, forks a process . This server should run all the time as a daemon. Now this server has to be deployed (init i suppose ) and i want this server to be run attached to a particular user ,inheriting the environment of that user. The processes forked ,access database and populate data. for this purpose the forked processes should be attached to a particular login. I hope i conveyed the problem properly .. it is quite a simple thing for you all but i couldnt get any thing on this (attaching the daemon created by init to a particuler login ) Thanks in advance ===== May Innocence and Joy Prevail __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com