I had an ftp user on Edit Mail and FTP Users section with these details (Name: name@domain.com, Ftp login enabled: yes)
When I login via ftp I insert calum.domain for the username like I can see in the datails after ftp user creation (POP3/FTP login name.domain) but i can’t login.
Check the shell of the user, and see if that shell is listed in /etc/shells. /bin/false, I believe, is the default shell for FTP+Mail users in Virtualmin…but if it’s not listed in /etc/shells, the FTP server will refuse the login.
Check the shell of the user, and see if that shell is listed in /etc/shells. /bin/false, I believe, is the default shell for FTP+Mail users in Virtualmin...but if it's not listed in /etc/shells, the FTP server will refuse the login.
This is the file and i don’t see /bin/false. What can I do?
it works. When i login with name.domain I see its home directory for email (home/site/homes/name) and i can see the /home/site/public_html too but it’s possible to see all directory of the server too in /
It’s quite dangerous How can I allow this user to see only /home/site ?
it's possible to see all directory of the server too in /
It’s quite dangerous How can I allow this user to see only /home/site ?
Why is that dangerous? You reckon in 35 years, UNIX hasn’t figured out security pretty well?
But, you can enable chroot in the ProFTPd configuration, if you really think it’s an issue. (In Webmin’s ProFTPd module this option is labeled “Limit users to directories” in the Files and Directories page, and set it to “Home directory”.)