Re: No shell, Only FTP access
On Thu, Apr 06, 2006 at 08:18:58PM +0200, Øyvind Lode wrote:
> Hello all
>
> I running a webserver with multiple users and domains.
> I want some users to have no shell access, only FTP access to upload
> websites and chroot'ed in their home directory.
>
> I have all the domains located in /home/www/domainname1/ ,
> /home/www/domainname2/ etc.
>
> I give the user proper access to the domain under /home/www/.
> I chroot'ed the user in /home/www/domainname1/
> I gave shell /bin/false
>
> User is denied shell access but also FTP!!!
> If I give /bin/bash and test the user is logged inn and chroot'ed in
> /home/www/domainame1/
>
> I'm using vsFTPd.
>
> How can I deny shell access and allow FTP?
>
Is /bin/false listed in /etc/shells?
--
The chief danger in life is that you may take too many precautions.
-- Alfred Adler
Reply to: