I'm a bit puzzled with this one and could really use some help.
We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home dir. Connections are made with explicit SSL.
VSFTPD config as follows:
So far we have added 3 users, each in the same way.
useradd -s /sbin/nologin username
The first 2 users work perfectly. The 3rd gets a
Login Incorrect message from VSFTPD.
I've change the 3rd users password to
test just to check there wasn't a typo in the connection but get the same thing.
/var/log/secure for the 3rd user attempt is
pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=user3 rhost=127.0.0.1 user=user3
Anyone have any suggestions.
EDIT: In response to comments
The SELinux status is disabled
The output from
ls -lZd in each directory is
drwx------ user1 user1 ? .
drwxr-xr-x user2 user2 ? .
So there is an obvious difference in permissions, but the working user is less permissive?