On Wed, 23 May 2007 20:04:51 +0100
Andy <[EMAIL PROTECTED]> wrote:

> On 23/05/07, norman <[EMAIL PROTECTED]> wrote:
> > Why sudo su - I thought that sudo by itself was root.
> The su puts you in a super user shell.
> You can execute that command first and then execute a several commands
> without the need to prefix the others with sudo.
> 
> I think sudo is more advisable for some reason though.
> 

sudo has better security and logging features than su (though these
don't matter as much on a desktop system where there is only 1 admin
and they have complete access). If you want an interactive session
using sudo you can use 'sudo -i'. The commands still go through sudo so
you get the finer grained security model and improved logging but don't
need the sudo in front of everything that needs escalated privileges.
Remember to exit when you're done :)

        Robert

________________________________________________________
Robert McWilliam     [EMAIL PROTECTED]    www.ormiret.com

Who is General Failure? And why is he reading my hard disk?

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/

Reply via email to