From: Chris Davies on 18 Jun 2010 17:40 Mike Scott <usenet.12(a)spam.stopper.scottsonline.org.uk> wrote: > I have been known to do a 'sudo su' on occasion, but not often :-) I'm curious. What does that gain you that sudo by itself doesn't? Cheers, Chris
From: Jim Price on 18 Jun 2010 18:18 Chris Davies wrote: > Mike Scott <usenet.12(a)spam.stopper.scottsonline.org.uk> wrote: >> I have been known to do a 'sudo su' on occasion, but not often :-) > > I'm curious. What does that gain you that sudo by itself doesn't? Not having to type sudo again until you've broken your system :-) -- ╔═╦═╦═════╦═══╗ ║ ║ ║ ║ ║ ╔═╝ ║ ║ ║ ║ ║ ╔═╝ ╚═══╩═╩═╩═╩═╩═╝ -- UTF-8 JimP.
From: Chris Davies on 18 Jun 2010 21:11 Mike Scott <usenet.12(a)spam.stopper.scottsonline.org.uk> wrote: > I have been known to do a 'sudo su' on occasion, but not often :-) Chris Davies wrote: > I'm curious. What does that gain you that sudo by itself doesn't? Jim Price <d1version(a)hotmail.com> wrote: > Not having to type sudo again until you've broken your system :-) :-) sudo -s # Shell sudo -Hs # Shell with target user's HOME sudo -i # Login shell Chris
From: Mike Scott on 19 Jun 2010 05:42 Jim Price wrote: > Chris Davies wrote: >> Mike Scott <usenet.12(a)spam.stopper.scottsonline.org.uk> wrote: >>> I have been known to do a 'sudo su' on occasion, but not often :-) >> >> I'm curious. What does that gain you that sudo by itself doesn't? > > Not having to type sudo again until you've broken your system :-) > Exactly :-) Just saves having to keep typing sudo when there's a sequence of root things to do. Old habits die hard. -- Mike Scott (unet2 <at> [deletethis] scottsonline.org.uk) Harlow Essex England
From: Tony van der Hoff on 19 Jun 2010 06:20
On 19/06/10 11:42, Mike Scott wrote: > Jim Price wrote: >> Chris Davies wrote: >>> Mike Scott <usenet.12(a)spam.stopper.scottsonline.org.uk> wrote: >>>> I have been known to do a 'sudo su' on occasion, but not often :-) >>> >>> I'm curious. What does that gain you that sudo by itself doesn't? >> >> Not having to type sudo again until you've broken your system :-) >> > Exactly :-) > > Just saves having to keep typing sudo when there's a sequence of root > things to do. Old habits die hard. > From man sudo: Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password for a short period of time (15 minutes unless overridden in sudoers) -- Tony van der Hoff | mailto:tony(a)vanderhoff.org Ariège, France | |