Re: [gentoo-dev] sudo vs su

2010-02-28 Thread Alec Warner
On Sun, Feb 28, 2010 at 11:55 AM, Mike Auty wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hiya William, >        Sudo can be used to restrict access, so that only certain programs can > be run using it.  It asks for your password rather than the user you're > trying to login to (unl

Re: [gentoo-dev] sudo vs su

2010-02-28 Thread Alec Warner
On Sun, Feb 28, 2010 at 11:52 AM, Denis Dupeyron wrote: > On Sun, Feb 28, 2010 at 12:20 PM, William Hubbs wrote: >> I am starting this thread because I don't understand why people are >> using sudo and su together.  They are completely separate utilities that >> do the same thing.  AFAIK, it shou

Re: [gentoo-dev] sudo vs su

2010-02-28 Thread William Hubbs
On Sun, Feb 28, 2010 at 12:52:01PM -0700, Denis Dupeyron wrote: > Some systems are configured with a random root password. After a while > you get tired of doing 'sudo ' all the time and would like to > become root but you can't because you don't know the root password. > One way around that is 'su

Re: [gentoo-dev] sudo vs su

2010-02-28 Thread Graham Murray
Denis Dupeyron writes: > Some systems are configured with a random root password. After a while > you get tired of doing 'sudo ' all the time and would like to > become root but you can't because you don't know the root password. > One way around that is 'sudo su -' which allows to become root us

Re: [gentoo-dev] sudo vs su

2010-02-28 Thread Mike Auty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hiya William, Sudo can be used to restrict access, so that only certain programs can be run using it. It asks for your password rather than the user you're trying to login to (unlike su). It also helps maintain a more accurate audit trail (al

Re: [gentoo-dev] sudo vs su

2010-02-28 Thread Denis Dupeyron
On Sun, Feb 28, 2010 at 12:20 PM, William Hubbs wrote: > I am starting this thread because I don't understand why people are > using sudo and su together.  They are completely separate utilities that > do the same thing.  AFAIK, it should be either "sudo -i" or "su -", but > not "sudo su -" which

[gentoo-dev] sudo vs su

2010-02-28 Thread William Hubbs
All, I am starting this thread because I don't understand why people are using sudo and su together. They are completely separate utilities that do the same thing. AFAIK, it should be either "sudo -i" or "su -", but not "sudo su -" which I have seen quite often. "sudo su -" is redundant because