[svlug] SSH and root logins?

Bill Jonas bill at billjonas.com
Thu Aug 15 13:05:18 PDT 2002


On Thu, Aug 15, 2002 at 12:51:30PM -0700, Webb Sprague wrote:
> Does anyone know how to set up sshd so that it will
> not accept a login as root, forcing folks (me only, I
> hope) to su?

From sshd_config(5):

    PermitRootLogin
	Specifies whether root can login using ssh(1).  The argument
	must be ``yes'', ``without-password'', ``forced-commands-only''
	or ``no''.  The default is ``yes''.

        ...

	If this option is set to ``no'' root is not allowed to login.


-- 
Bill Jonas    *    bill at billjonas.com    *    http://www.billjonas.com/
"They that can give up  essential  liberty to obtain a little temporary
safety deserve neither liberty nor safety."        -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.svlug.org/archives/svlug/attachments/20020815/c1ec2fb9/attachment.bin


More information about the svlug mailing list