On Mon, Jun 05, 2006 at 09:25:57AM +1000, James Gray wrote: > 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
For values of "Linux" that don't include RedHat. Feh. More motivation for me to keep the workplace pure. <grin> > your time between Solaris, the BSD's and Linux, then rsync the same .bashrc > between all of them :P Eeeew. I'll have a crab juice. Meanwhile, I've got <mumble>-odd machines, which don't warrant the distribution of a custom .bashrc, but which are all running Ubuntu -- I'm slowly rewiring the muscle memory to sudo -i from sudo -s. - Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
