It doesn't say anywhere about the user having to have a shell listed in /etc/shells. Can I just add shells to /etc/shells? This is what the man page says: /etc/passwd is used via libc (and PAM is this case), to get the uid and home directory of normal users, the uid and home directory of "ftp" for normal anonymous ftp, and just the uid of "ftp" for virtual ftp hosts. Nothing about the shell though. -Josh -----Original Message----- From: Adam Maloney [mailto:adamm at sihope.com] Sent: Tuesday, March 09, 2004 9:28 AM To: josh at teamfreeze.com; TCLUG Mailing List Subject: Re: [TCLUG] ftp users Does the FTP daemon require them to have a valid shell (listed in /etc/shells?) and /bin/false isn't? On Tue, 2004-03-09 at 09:16, Josh Close wrote: > Is there a way to have an ftp user that's not able to log onto the box? I > tried > > usermod -s /bin/false some-user > usermod -s /bin/nobody some-user > usermod -s /dev/null some-user > > All of those make it so there is a user with a pass that belong to a group > and they can't ssh in, but they also can't get in with ftp. I'm using > pure-ftpd. > > -Josh > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list > _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list