Hi, Something really strange happening. I added a new login for a new website created = can't login. Auth failed. - I can login with any other logins. - I added new login for another previously existing website and it works too. - It seems to not work with that new specific website. Verbose log: Apr 3 14:41:40 web pure-ftpd: (?@XXXX) [INFO] New connection from XXXX Apr 3 14:41:40 web pure-ftpd: (?@XXXX) [DEBUG] Command [auth] [TLS] Apr 3 14:41:40 web pure-ftpd: (?@XXXX) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with XXXX, 256 secret bits cipher Apr 3 14:41:40 web pure-ftpd: (?@XXXX) [DEBUG] Command [user] [toto.domain.mobi] Apr 3 14:41:40 web pure-ftpd: (?@XXXX) [DEBUG] Command [pass] [<*>] Apr 3 14:41:46 web pure-ftpd: (?@XXXX) [WARNING] Authentication failed for user [toto.domain.mobi] Apr 3 14:41:46 web pure-ftpd: (?@XXXX) [DEBUG] Command [quit] [] Apr 3 14:41:46 web pure-ftpd: (?@XXXX) [INFO] Logout. I restarted, I rebooted,....
Also, I have issue with PHP5-FPM not starting since I added a new website. [03-Apr-2016 15:20:21] ERROR: [pool web51] cannot get uid for user 'web51' [03-Apr-2016 15:20:21] ERROR: FPM initialization failed /etc/php5/fpm/pool.d# ls web51.conf is in there. web51 is the new one. Maybe it's related with the ftp login... So I continue my investigation and: Everyime I add a website, Apache logs are: web apache2[11094]: AH00543: apache2: bad user name web52
If i grep the username just created when adding a website grep -r web57 * auth.log:Apr 3 17:02:01 web useradd[15715]: new user: name=web57, UID=5033, GID=5005, home=/var/www/clients/client0/web57, shell=/bin/false auth.log:Apr 3 17:02:01 web useradd[15715]: add 'web57' to group 'sshusers' auth.log:Apr 3 17:02:01 web useradd[15715]: failed to prepare the new /etc/gshadow entry 'web57' auth.log:Apr 3 17:02:01 web useradd[15715]: failed adding user 'web57', data deleted daemon.log:Apr 3 17:02:01 web apache2[15791]: AH00543: apache2: bad user name web57
Found that topic: https://www.howtoforge.com/community/threads/ispconfig-users-permissions.52191/ # grpck 'www-data' is a member of the 'client0' group in /etc/group but not in /etc/gshadow duplicate shadow group entry delete line 'sshusers:!::'? y solved!