Re: vsftp question

Mailinglists Address <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
Marcus Merrin wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
> 
>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
>
>  
>
Marcus,

I believe that you want to set check_shell to NO. This is defaulted to 
yes in vsftpd.

Tom Walsh
Express Web Systems, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.