OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: sshd PermitRootLogin problem

From: Aaron Nichols (adnicholsgmail.com)
Date: Tue Nov 02 2004 - 15:07:28 CST


On Tue, 2 Nov 2004 13:35:07 -0600, Rolen, Mark E. <merolenapacmail.com> wrote:
> No, setting PermitRootLogin to "forced-commands-only" should allow root to
> connect and run a command that is specified for the key in question, when
> the command is configured in the options field of authorized_keys.
>
> Or do you mean to tell me that PermitRootLogin without-password on my
> machine means anyone can login as root? :P

Ah, in that case, my testing isn't valid - I didn't fully understand
how this option worked.

Having correctly setup my authorized_keys file that option works just
fine for me.

Aaron