On Wednesday 02 April 2003 18:03, Mark Bainter wrote: > Arnold Krille [EMAIL PROTECTED] wrote: > Content-Description: signed data > > > On Saturday 29 March 2003 23:50, Paul de Vrieze wrote: > > > For that login shells have been invented: > > > su - > > > > Hmm, thanks! > > > > su -l didn't work... > > Incidentally, I still recommend you use sudo. Sudo gives you > the benefit of not typing your root password. If you do the > above, it's hardly more difficult to type 'sudo su -' to get > your root shell, and if you enable password caching (or, in > the case of desktops or similar systems NOPASSWD) you get to > skip typing your password in at all at least part of the time. >
I think NOPASSWD is unsafe unless you run a host that is not on the net. Of course sudo is a better solution in cases where there is more than one person needing to be root (or accessing the box at all). Paul btw. "sudo bash -login" works too -- Paul de Vrieze Researcher Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
pgp00000.pgp
Description: signature