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


Click here to return to the 'Create a superuser shell without enabling root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a superuser shell without enabling root
Authored by: ahbe on Jan 26, '04 12:14:59PM

Good tip! I just tried out sudo su and it works perfectly. I'm really surprised I have yet to see this before. It will certainly save me a bunch of time. I get so tired of having to type sudo before each command.



[ Reply to This | # ]
Create a superuser shell without enabling root
Authored by: vaiism on Jan 26, '04 12:35:20PM

I would do a 'sudo su -' tho to gain the full root account (not just becoming root) - make sure of the space between 'su' and the '-'.



[ Reply to This | # ]
Create a superuser shell without enabling root
Authored by: huzzam on Jan 26, '04 06:36:16PM

sudo su - seems to do the same thing as sudo -s. Is there a difference?



[ Reply to This | # ]