root be gone

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: KevinBuettnerkev@primenet.com
Datum:  
Betreff: root be gone
On Jun 13, 4:34pm, Joel Dudley wrote:

> Newbie question here. I am setting up a firewall here at work and
> since I will need to have openSSH daemon running on it I want to be
> able to disable root logins so only su is available. How is this
> done?


If you're asking how to disable root access through ssh, this is
an sshd option. Just change the line

PermitRootLogin yes

to

PermitRootLogin no

in your /etc/ssh/sshd_config file.

Kevin