Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cmcl2!adm!news From: konczal@sunmgr.ncsl.nist.gov (Joe Konczal) Newsgroups: comp.unix.wizards Subject: starting a process as another user during startup Message-ID: <26916@adm.brl.mil> Date: 16 May 91 18:45:46 GMT Sender: news@adm.brl.mil Lines: 27 From: Sean Sheridan Coleman X5672 Date: 15 May 91 07:07:31 GMT What I would like to do is have the rc.local run this script and start up this monitoring program as a part of its startup but I want it to start the process so the user is nbsnet not root. Is there a way to do this and if so, how? Your assistance is appreciated. Without the net, my job would be twice as hard. coleman@bldrdoc.gov Sean Coleman NIST Boulder, CO Try "su nbsnet -c script", where script is the actual name of the script you want to start. Other possible variations of this command line are described in the manual pages for su(1). BTW, this question probably should have been sent to info-unix or comp.unix.questions. -- Joe Konczal konczal@ncsl.nist.gov