How to create two users that share same dir plus vsftp access (Debian 6)?
Hi,
I have a problem I'm running Debian 6 and I need to have two users one that has the ability to login via ssh and the other that has only the ability to use FTP or to server as FTP user. They need to share the same folder. The SSH users should have all permissions rwx, the FTP one should have only rw. When I used CentOS 6.3 I was just running these commands and I got what I wanted but on Debian it does not work as it should. When FTP user tries to login to FTP server returns "530 Login incorrect" and refuses the connection. Here are the commands that I use to create these users: Code:
useradd SSHUser Does anyone have a clue what is causing the problem? Thanks in advance! |
When FTP user tries to login to FTP server returns "530 Login incorrect" and refuses the connection.
1.What are the changes you had made in your vsftpd.conf file ? If you had enabled Comment out pam_service_name=vsftpd in vsftpd.conf .Check out whether you could able to login |
Hi,
Make sure that /bin/false (and/or /usr/sbin/nologin) exist in /etc/shells. Regards |
Quote:
Code:
listen=YES Quote:
More suggestions? Thanks in advance! |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 05:36 PM. |