Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] ssh keys question



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-



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org