[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to run programs on startup not as root




On Sat, 25 Sep 1999, Stanislav Malyshev a.k.a Frodo wrote:

> su user <<END

this should be changed to:  su - user <<END

this '-' will cause the user's shell (and thus the user's shell startup
script) to be executed before executing the following commands.
otherwise, root's shell and environment will be used.

guy


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il