starting a process as another user during startup
Derek E. Terveer
det at nightowl.MN.ORG
Sat May 18 04:36:16 AEST 1991
les at chinet.chi.il.us (Leslie Mikesell) writes:
>In article <8646 at alpha.cam.nist.gov> coleman at 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 at nightowl.mn.org
More information about the Comp.unix.questions
mailing list