• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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