[KLUG Members] gnome users in a one app prison

Adam Tauno Williams members@kalamazoolinux.org
Wed, 9 Jul 2003 08:53:32 -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