ssh and remote sudo not hiding password

Brian McKee brian.mckee at gmail.com
Thu Nov 12 15:12:54 UTC 2009


On Sun, Nov 8, 2009 at 10:01 PM, Hal Burgiss <hal at burgiss.net> wrote:
> On Sun, Nov 8, 2009 at 4:55 PM, Brian McKee <brian.mckee at gmail.com> wrote:
>> On Fri, Nov 6, 2009 at 8:44 PM, Hal Burgiss <hal at burgiss.net> wrote:
>>> On Fri, Nov 06, 2009 at 09:59:27PM +0000, Colin Law wrote:
>>>>  How can I use ssh keys to prevent having to enter pwd for sudo?
>>> Root does not need sudo. So make sure the remote system has a functional root
>>> accout:
>>
>> Please don't recommend something like this unless you explain what you
>> are doing and why... and
>
> I thought it was obvious, but since you asked nicely, I'll explain:

I thought it was obvious, but I'll say it again.
You do not need to put a password on the root account to use it with an ssh key.
Don't recommend doing so without at least acknowledging that's not the
way this distro was planned to be used.

Brian




More information about the ubuntu-users mailing list