Re: vsftp question
Marcus Merrin <[email protected]>
| Newsgroups | gmane.comp.security.linux |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Many thanks to all who responded with help. I now have it well sorted, with the check_shells=NO, and disallowing ssh to daemon accounts. Marcus > --- Marcus Merrin <[email protected]> wrote: > > The recent discussion on Apache+ftp+php etc prompted me to ask a > related question. I have a similar setup with "student" accounts > each with a homedir containing a public_html directory. Each user > has a valid entry in the passwd file and are each chrooted to their > home dir by VSFTP. However, I don't want them to gain terminal > access at all. Under wu-ftp there was no problem. You just give > them /bin/false or /bin/nologin as their login shell in the passwd > file. However if you do this with vsftp, it prevents them from > ftp-ing into their home also. How do I grant FTP but not shell > access? > > Marcus > > -- > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCVVoddPV3APDqI7MRAnOWAJwOoHZwaBpaojqnHCJXrEowQHNwdQCeNz85 UqTEoHN/h4LrOnZJ43ATjmA= =wrhu -----END PGP SIGNATURE-----