thanks! I have no idea that it's that simple, thanks also to Daryl and 
Anthony.

On Wednesday 02 May 2001 13:07, you wrote:
> On Wed, 2 May 2001, Robert Reyes wrote:
> > Can I disable root login on SSH? if so, how can I do it?
>
> With openssh, in the /etc/ssh/sshd_config file, modify the PermitRootLogin
> parameter. The values are yes, no, without-password and
> forced-commands-only.
>
> Yes and no are obvious.
>
> without-password only alows authentication as root where passwords aren't
> required. This is actually more secure than password logins if used
> correctly with DSA/RSA key authentication.
>
> forced-commands-only is like without-password, but only allows ssh for
> root if a command has been specified. This is useful where you need to run
> commands as root, but the commands are limited and non-interactive
> (backups, security scans, etc).
>
> thornton
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to