RE: question about 'su -'

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

 



From: Chris W. Parker Sent: Monday, October 27, 2003 11:19
> Ding Li on Monday, October 27, 2003 10:36 AM said:
> > just type su instead of su -
> Hey look at that! Like magic.
> 

But they will not behave the same. The "su" will keep the original
user's environment variables whereas the "su -" will give you root's
environment variables. This could adversely affect what you try to
execute as root.

HTH

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux