[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Allow FTP in, but not shell login



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



Reply to: