root be gone

Kevin Buettner kev@primenet.com
Tue, 13 Jun 2000 16:46:11 -0700


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