On 1/18/06, Roberto Gallo <[EMAIL PROTECTED]> wrote:

Hi Roberto,

> I have an FC3 system using OpenSSH and would like to allow only one user to
> login.
> This way, I have changed the file /etc/ssh/sshd_config at 3 different
> points:
>
> 1) Added: "Protocol 2"
> 2) Toggle: "AllowPAM no"
> 3) Added: "AllowUsers myuser"
>
> Then, I executed: "/usr/sbin/sshd"
>
> Even after that, I could login with a different user than "myuser". What did
> I do wrong?

You forgot to mention the DenyUsers part:

DenyUsers '*'
AllowUsers myuser

Regards,

--
[EMAIL PROTECTED]

Reply via email to