On Mon, 5 Jun 2006 09:01 am, Matthew Palmer wrote: > On Mon, Jun 05, 2006 at 06:57:59AM +1000, James Gray wrote: > > On Sat, 3 Jun 2006 01:04 pm, david wrote: > > > On my pure server boxes, I've activated the root account because it's > > > the only account that I use. Why use sudo when every time I log in and > > > everything I do on the box is done as root, and only I do it. I ssh > > > into my own account, then su - > > > > "sudo -H -s" == "Start a root shell and set the $HOME env to /root" > > There's also sudo -i for much the same purpose.
Yeh, I've had mixed success with that switch. Seems every sudo I use supports "-H -s" but only the Linux variants support "-i"...which sux when you divide your time between Solaris, the BSD's and Linux, then rsync the same .bashrc between all of them :P Cheers, James -- Availability is limited.
pgp7YVZy4Gcd4.pgp
Description: PGP signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
