[KLUG Members] gnome users in a one app prison

Bruce Smith members@kalamazoolinux.org
08 Jul 2003 14:23:26 -0400


> >One other thing you can muck around with (it may or may not work for
> >your application), is to not give your user(s) a valid shell in passwd.
> 
> /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).
 
--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------