Re: [Hampshire] sudo

Top Page

Reply to this message
Author: Simon Reap
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] sudo
On 21/06/07 16:11, Alex said the following:
> `sudo su` sounds suspect to me - trying to run su as root, even though
> su gives you root?...
>
> have you tried `sudo -s`?
>

'sudo su' will give you a root shell - saves typing in sudo many times
if you have lots to do as root.

As for the initial problem, have you upgraded sudo today? It might have
brought in a default /etc/sudoers list.

Simon


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.