|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Al Lipscomb (arl
q7.net)Date: Thu Feb 15 2001 - 12:13:34 CST
On Thu, Feb 15, 2001 at 09:01:09AM -0800, Peter Hessler wrote:
> Where is the .profile set for root when I use /usr/bin/su to become
> root? When I login directly as root (at the console, no su) the
> /root/.profile and the /etc/profile kick in. When I log in as a wheel
> memeber, my ~/.profile and /etc/profile kick in. But when I login as
> me, then use /usr/bin/su to become root, the profiles don't apply
> anymore. Where is that set?
If you are typing `su` then your current environement is (mostly)
retained for the new session. If you type `su -` you will simulate
a new login. `man su` for more information.
-- | I am not sure how many monkeys it would take to type out the works of Shakespear. I do know how many cats it would take to spam a maillist if I leave my computer on. AA4YU http://www.beekeeper.org http://www.q7.net
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]