[Discuss] ssh keys question

Dan Ritter dsr at randomstring.org
Thu Jun 16 18:37:55 EDT 2016


On Thu, Jun 16, 2016 at 04:46:40PM -0400, Kent Borg wrote:
> When people use ssh keys, what happens with sudo?
> 

Sudo continues to work.

1. You can assign passwords, but tell sshd to only allow access
via keys. This is a Good Idea.

2. People who don't have sudo privs don't need passwords.

3. A good /etc/sudoers file can assign privilege to people based
on the UNIX group they are in, or in an internal sudoers-defined
group, or individually. Privs can vary by machine, so you can
distribute the same /etc/sudoers file everywhere in a network.

4. You can even give no-password-required access to some people
for individual commands.

-dsr-



More information about the Discuss mailing list