• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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