[CentOS] Signing In Other than Root

Bo Lynch blynch at ameliaschools.com
Tue Jan 5 13:17:41 UTC 2010


On Tue, January 5, 2010 8:11 am, Susan Day wrote:
> Hi;
> How do I make it so that it's impossible to SSH into the server directly
> as
> root? That is, make it necessary to SSH in as an ordinary user and then su
> to root?
> TIA,
> Suzie
> _______________________________________________
You can add all users to a group, lets say remote_group, and then in
sshd.conf specify that only users from that group are allowed to login via
ssh.

Bo Lynch





More information about the CentOS mailing list