Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Not the same' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not the same
Authored by: lincd0 on Mar 19, '08 10:01:11AM

sudo -i is not the same as sudo -s. The first simulates a root login. You get the root home directory and PATH, and lose your own environment. The second preserves most of your customized shell environment, while changing your effective UID to root. Much better for my purposes.

[ Reply to This | # ]