RE: question about 'su -'

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

 



Hugh E Cruickshank <mailto:hugh@xxxxxxxxxxx>
    on Monday, October 27, 2003 11:42 AM said:

> 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.

Hey thanks for pointing this out. In this case I might have to stick
with 'su -'. Does 'sudo' behave the same as 'su'?



Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/


-- 
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