• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Issue Unable to rename a system user from a Plesk domain

straddi

Basic Pleskian
ERROR:
System user update is failed: Unable to execute usermng: usermng: /usr/sbin/usermod execution failed: usermod: user example is currently used by process 14788 usermng: Unable to modify user: example
unfortunately the following solution did not work: support.plesk.com
The error message still appears.
 
The solution aims at stopping the running process that the system user is still owning. However, the solution might be incomplete, because there can be other processes, too. To find the correct process (the correct daemon, program etc.) try to run

# ps aux | grep <first four letters of the system user account>

on the Linux shell. You'll need to stop the service, program or whatever that is owned by the user. But if possible, don't "kill" it but regularly stop it.
 
Thanks for the quick response.
Unfortunately I do not understand the information.

The following is displayed (first 7 letters of the username with a + sign).

usernam+ 14788 0.0 0.0 118536 160 ? S Jun25 0:00 sshd: username@pts/0
usernam+ 14789 0.0 0.0 19792 1996 pts/0 Ss+ Jun25 0:00 -bash
 
The user is using two services, which are SSH and the bash shell. So what this says is: The user is not running any processes. Renaming should be successful.
 
Complete edition:

root 2782 0.0 0.0 11096 920 pts/2 S+ 11:30 0:00 grep 14788
streich+ 14788 0.0 0.0 118536 160 ? S Jun25 0:00 sshd: streichinstrumentenboerse@pts/0
 
If this is the only process, you should be good after you log out from SSH, because then the user does not own any other processes, so it should be possible to change the name.
 
Back
Top