• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Deleted FTP users still showing on /etc/passwd

Ryan

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
18.0.56 Update #4
I went through and deleted some unused/inactive FTP accounts on some of my subscriptions using Plesk, from where they were created.

While they are now gone from Plesk, they are still showing up in /etc/passwd.

Thoughts?
 
I don't mean the subscription's main user, I mean under the "Additional FTP Account" section.
Example, where company1 is the subscription's main system/FTP account for company1.com, ftptuser1. So in /etc/passwd/ , there are three entries:

company1:x:10028:1003::/var/www/vhosts/company1.com:/bin/false
ftpuser1:x:10029:1003::/var/www/vhosts/company1.com:/bin/false
ftpuser2:x:10020:1003::/var/www/vhosts/company1.com:/bin/false

The weird part is that some of the "additional ftp users" I deleted are now gone from the /etc/passwd file but there are some there that I deleted the same way from Plesk but that remain in /etc/passwd. (Not the the main system user). These aren't Panel users, ftp-only.

So in this example I deleted ftpuser1 and ftpuser2 from inside the Plesk Control Panel, and ftpuser1 is now gone from /etc/passwd but ftpuser2 is not.
 
Do you have this ftpuser2 in the psa database?
Code:
SELECT * FROM `sys_users`;

Tools and Setting > Database Servers > Select the Plesk Database Server > Webadmin (the small icon) > psa database > sys_users table
 
Back
Top