how to Only FTP user in Ubuntu 12.04 ?

Patrick Asselman iceblink at seti.nl
Thu Oct 18 08:42:54 UTC 2012


On 2012-10-18 09:21, Jkhatri wrote:
> Dear all,
>
>  I've configured Ubuntu 12.04 LTS server as FTP server (vsftpd) for
> our local users, all works fine,,, but now its required to create 
> some
> non-interactive user accounts who are not allowed to use SSH or local
> login, but only FTP access to their home directory.
>
>  I've added user with -s option with /usr/sbin/nologin to disable
> shell access, but this user is not able to FTP as well, .... any
> solution.??? how to add users with only FTP access to their home
> directory >>>
>
>   
>  Warm Regards

Why do you use something in /usr/sbin/ ?
Normally you would use /bin/false
In any case you need to add it to your /etc/shells otherwise it is not 
recognised as something that is allowed to run.

This thread seems helpful: 
http://ubuntuforums.org/showthread.php?t=79588

Best regards,
Patrick Asselman




More information about the ubuntu-users mailing list