Try setting the shell to /bin/true (and make sure this is listed in /etc/shells). /bin/true returns a zero result and exits. It allows you to "log in" via daemons that require a valid shell, yet won't allow telnet-style access (no real shell, just a "true" result).
At 11:48 AM 3/13/2001 -0800, Mike Fedyk wrote:
On Tue, Mar 13, 2001 at 06:55:32PM +0200, Andrius Kasparavicius wrote: > On Tue, 13 Mar 2001, Kenneth Pronovici wrote: > > > without interactive access. I want to do this specifically for a set of > > users, not for all users on the machine. > > > you can change user's shell to /dev/null I change mine to /bin/false. It runs and gives a nonzero return code. If you try to su to a user with a shell set to /dev/null, what happens? /bin/false just exits the su, even from root. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- Eric N. Valor Webmeister/Inetservices Lutris Technologies [EMAIL PROTECTED] - This Space Intentionally Left Blank -

