Re: vsftp question

From: Philipp Schulte (
Date: 04/04/05

  • Next message: Eduardo Tongson: "Re: vsftp question"
    Date: Mon, 4 Apr 2005 17:24:53 +0200

    Marcus Merrin 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?

    vsftpd checks if the users have a valid shell. Those are defined in
    /etc/shells. Add "/bin/false" to this list and everything should be
    fine. Regards,

  • Next message: Eduardo Tongson: "Re: vsftp question"