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

Click here to return to the '10.5: Fix the sudo shell prompt' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Fix the sudo shell prompt
Authored by: Anonymous on Mar 19, '08 02:44:44PM

Eh? sudo su - works even if you don't enable the root account...

[dbr@schism:~]$ sudo su -
Password:[my users password]

[ Reply to This | # ]
10.5: Fix the sudo shell prompt
Authored by: leamanc on Mar 20, '08 05:46:24AM
You all beat me to it. sudo su - is the established way to do this. It works without root being enabled. All sudo -s does is open another shell, whereas sudo su - executes a full login, including the setting of any envirionment variables.

[ Reply to This | # ]