How to change name of subscription's system user in Plesk?

Follow

Comments

8 comments

  • Avatar
    Iskander (Edited )

    Hello,

    How i can change subscription's system user name in Plesk from CLI. Unfortunately, I did not find this information in the CLI documentation.

    1
    Comment actions Permalink
  • Avatar
    Daria Gavrilova

    Hello @Iskander,

    Thank you for your question.

    To change the subscription's system user name via CLI, please use the following command:

    plesk bin subscription --update example.com -login new_username

    I modified the article on this matter as well.

    1
    Comment actions Permalink
  • Avatar
    Iskander

    Hi @Daria Gavrilova,

    Thanks for your reply

    0
    Comment actions Permalink
  • Avatar
    Karen (Edited )

    How do I do this? I am not a developer.

     

    0
    Comment actions Permalink
  • Avatar
    Daria Gavrilova

    Hello @Karen,

    Thank you for your question.

    In case if there is no direct SSH or RDP access to the server, then it is possible to change the subscription's system user name at Plesk > Domains > example.com > Web Hosting Access > Username or at Plesk > Websites & Domains > example.com > Web Hosting Access > Username:

    0
    Comment actions Permalink
  • Avatar
    Karen

    However, when I try to do this I get a popup that says, "This user account cannot be removed because it is either a built-in user account or your own user account. What do I do?

     

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy

    Hi @Karen, could you check if the following article applies? https://support.plesk.com/hc/en-us/articles/360003166354-Unable-to-create-subscription-in-Plesk-System-user-update-is-failed-Unable-to-create-system-user, if not please open a support ticket with us as follows: https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support-

    0
    Comment actions Permalink
  • Avatar
    Mark

    On this page you write: 

    Customers do not have the ability to change their user account login name in the Plesk GUI. To change your user account login name, contact your provider.

    For some reason our customers DO have the ability to change the system user. We would like to be able to disable this option or access to this page. How can we achieve this? We need to disable this because changing the username can break PHP:

    [11-Jul-2022 15:26:22] ERROR: [pool xxx.xxx] cannot get uid for user 'xxxxxxx'
    [11-Jul-2022 15:26:22] ERROR: FPM initialization failed

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request