[KLUG Members] gnome users in a one app prison
Adam Tauno Williams
members@kalamazoolinux.org
Wed, 9 Jul 2003 09:18:42 -0400
>>>>>>>/bin/false rulez!
>>>>>>Yes, but things have advanced. See: /sbin/nologin nologin(8)
>>>>>>That way you can display custom nasty messages to the user when
>>>>>>they try to login. :-)
>>>>>>And it's already in /etc/shells, so you don't need to add it
>>>>>>(for FTP logins).
>>>>>>| What version of redhat was this introduced in?
>>>>>Idon't know exactly. It exists on my Redhat 9, 8.0 and 7.3 boxes.
>>>>It isn't listed in /etc/shells (which I never use 'cause we are
>LDAPified)
>>>>on my RedHat 7.1 box.
>>>Does /sbin/nologin exist on 7.1?
>>ls [root@littleboy /root]# ls -l /sbin/nologin
>>ls: /sbin/nologin: No such file or directory
>>[root@littleboy /root]# whereis nologin
>>nologin: /usr/share/man/man5/nologin.5.gz
> OK, nologin(5) is different than nologin(8). To clarify:
> nologin(5) is the file "/etc/nologin" to reject all logins.
> nologin(8) is a program used as a shell to reject certain logins.
> (with a custom reject message)
Right. No executable "nologin" exists on 7.1.
Note to anyone who doesn't now: (5) documents configuration files not programs.
Man pages are broken up into groups of seperate topics (config files, system
calls, user programs, administrative programs, etc...)