Re: Behaviour of no_login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 18, 2001 at 02:06:30AM +0100, Willy Weisz wrote:
> no_login doesn't  show the behaviour I would expect:
> 
> 1. rsh , rlogin and login:
>     Even though the user is not allowed to login, he is requested to
> enter his password again and
>      again, until a new login prompt appears that finally can be aborted
> with <Ctrl-D>

Make pam_nologin "requisite" instead of "required".

> 2. ssh
>      The text of the file /etc/nologin is not displayed on the terminal,
> and the user sees only
>       that he is not permitted to login. Here again the user is asked to
> enter the password
>       3 times before he gets the message "Unable to find an
> authentication method", and
>       ssh returns.

Use openssh, not ssh.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux