[ubuntu-uk] technical question
rmcw at allmail.net
Wed May 23 20:27:43 BST 2007
On Wed, 23 May 2007 20:04:51 +0100
Andy <stude.list at googlemail.com> wrote:
> On 23/05/07, norman <norman at littletank.org> 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 McWilliam rmcw at allmail.net www.ormiret.com
Who is General Failure? And why is he reading my hard disk?
More information about the ubuntu-uk