On Mon, 20 Feb 2006, MK wrote:

> 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.

I was not completely accurate.

nologin means disabled for shell access. Some other programs like
ftpd in base honour it, some programs do not, like popa3d. Both
programs describe the conditions under which access is granted in the
man page.

To completely disable an account, change its password to *, or remove it.

        -Otto

Reply via email to