[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user/717: xdm disregards nologin shell
You wrote (in your message from Tue 16)
> System : OpenBSD 2.4
> Architecture: OpenBSD.alpha
> Machine : alpha
> >Description:
>
> When a user with /sbin/nologin as a shell xdm accepts
> this user in stead of giving the /etc/nologin.txt
> >How-To-Repeat:
> create valid user with /sbin/nologin as shell.
> provide user with password
> login as user via xdm
Hmm, do you mean /sbin/nologin is in your /etc/shells ?
If not, I don't know why this doesn't work on the alpha, but OpenBSD
definatly has code to reject logins from users with shells not in
/etc/shells. Cf
<http://www.openbsd.org/cgi-bin/cvsweb/X11/xc/programs/xdm/greeter/verify.c>
--
Matthieu