Re: Signing In Other than Root

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



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

# vim /etc/ssh/sshd_config

Uncomment the following line:

#PermitRootLogin yes
PermitRootLogin no

# service sshd restart

Regards,
Max
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux