Different operations on Plesk for Linux server fail: /usr/sbin/usermod execution failed: usermod: user is currently used by process

Follow

Comments

2 comments

  • Avatar
    Selman K.

    Sorry but the resolution in the article is misleading. usedmod fails because the user has active processes.

    Resolution:

    ssh into plesk and execute the following command to terminate user processes.

    sudo killall -s TERM -u username

    After user processes are terminated usermod won't fail anymore.

    0
    Comment actions Permalink
  • Avatar
    Websavers

    None of the solutions in this article worked for us. It appears that Plesk is spawning a user process *just* prior to trying to change the username on the subscription/system user. Selman's solution above only worked when we triggered the username change, then repeatedly ran the command while the change was in progress and did so until success.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request