> We use nis for authentication.
> Do you know how can one  go about setting up a vsftpd
> server to which users can secure ftp to but  not
> be able to login (i.e. login shell)?

First you need to change the NIS configuration to compat mode.
Edit /etc/nsswitch.conf and change the passwd line to:

   passwd:     files compat

Then add this line to the end of /etc/passwd:

   +::::::/sbin/nologin

and make sure /sbin/nologin is listed in /etc/shells.

(You can use /bin/false instead of /sbin/nologin).


---
Ian

-- 
Ian
     [EMAIL PROTECTED]    Ian Mortimer
     Tel: +61 7 3365 3436     Physics
     Fax: +61 7 3365 1242     University of Queensland



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to