open /etc/sshd_config, locate the line that reads "PermitRootLogin". set the yes to no 
to disable root login for SSH.

HTH

Mike Maravillo wrote:

> On Sat, Apr 07, 2001 at 11:31:44PM +0800, Rafael R. Sevilla wrote:
> >
> > Oh, and one other thing: how does one prevent direct SSH logins
> > for root?
>
> Go check the sshd config file... ;-)
>
> --
>  .--.  Michael J. Maravillo                   office://+63.2.894.3592/
> ( () ) Q Linux Solutions, Inc.              mobile://+63.917.897.0919/
>  `--\\ A Philippine Open Source Solutions Co.  http://www.q-linux.com/
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
>[EMAIL PROTECTED]

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to