Re: vsftp question
From: Philipp Schulte (pschulte_at_uni-duisburg.de)
Date: 04/04/05
- Previous message: Markus: "Linux and DB2"
- In reply to: Marcus Merrin: "vsftp question"
- Next in thread: Eduardo Tongson: "Re: vsftp question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 4 Apr 2005 17:24:53 +0200 To: focus-linux@securityfocus.com
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,
Philipp
- Previous message: Markus: "Linux and DB2"
- In reply to: Marcus Merrin: "vsftp question"
- Next in thread: Eduardo Tongson: "Re: vsftp question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|