Gentoo Archives: gentoo-dev

From: Graham Murray <graham@×××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] sudo vs su
Date: Sun, 28 Feb 2010 20:29:14
Message-Id: 87635h2jg7.fsf@newton.gmurray.org.uk
In Reply to: Re: [gentoo-dev] sudo vs su by Denis Dupeyron
1 Denis Dupeyron <calchan@g.o> writes:
2
3 > Some systems are configured with a random root password. After a while
4 > you get tired of doing 'sudo <command>' all the time and would like to
5 > become root but you can't because you don't know the root password.
6 > One way around that is 'sudo su -' which allows to become root using
7 > your user password.
8
9 When I had to do this on a (RHEL) system, I did not think of using 'sudo
10 su -', I used 'sudo bash'.