From: Chris Davies on
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
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
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
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
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 |
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10
Prev: Shell variables in perl one liner
Next: Fabiatech FX5624