Xref: utzoo comp.unix.questions:31444 comp.unix.wizards:25668 comp.unix.internals:2836 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!sdd.hp.com!spool.mu.edu!cs.umn.edu!atc!s5000!nightowl!det From: det@nightowl.MN.ORG (Derek E. Terveer) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.internals Subject: Re: starting a process as another user during startup Message-ID: <1991May17.183616.8144@nightowl.MN.ORG> Date: 17 May 91 18:36:16 GMT References: <8646@alpha.cam.nist.gov> <1991May16.152625.23511@chinet.chi.il.us> Organization: Joel's Home System Lines: 14 les@chinet.chi.il.us (Leslie Mikesell) writes: >In article <8646@alpha.cam.nist.gov> coleman@cam.nist.gov (Sean Sheridan Coleman X5672) writes: >>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? > su -c user "command string" I believe that you meant su user -c "command string" In your form (at least on the systems that i have access to), su will see the "-" argument and "redo" the environment... -- det@nightowl.mn.org