Maybe I'm wrong but in man pages is nothing about difference between these two shells. Of course I had firstly searched man pages before I asked my question here.

from manpages:

"nologin displays a message that an account is not available and exits
non-zero. It is intended as a replacement shell field for accounts that
    have been disabled.

If the file /etc/nologin.txt exists, nologin displays its contents to the
    user instead of the default message."

So I supposed that in case of "nologin" shell, user account will be completely disabled.

MK

----- Original Message ----- From: "Otto Moerbeek" <[EMAIL PROTECTED]>
To: "MK" <[EMAIL PROTECTED]>
Cc: <misc@openbsd.org>
Sent: Sunday, February 19, 2006 9:17 PM
Subject: Re: nologin shell allows me to connect to FTP server




On Sun, 19 Feb 2006, MK wrote:

Hello to everybody

I meant that nologin shell disallows access for user account on all services. But I'm still able to connect to FTP server and POPA3D even that userID has assigned nologin shell. Is it correct behaviour? If so, where is difference
between nologin shell and false shell.

It is correct behaviour. The difference between nologin and false is
descibed in the man page of nologin.

-Otto

Reply via email to