Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to change the name of the subscription's system user?
Answer
- Log into Plesk.
- Go to Subscriptions > example.com > Web Hosting Access > System user section.
-
Change the name of the system user in the Username* field and press the OK button:
Click on the screenshot below to expand
Solution using the SSH access
- Log into the server via SSH.
- Execute the command below to change system user of the
example.com
subscription to johndoe:
# plesk bin subscription --update example.com -login johndoe
Note: replace the johndoe with the name of the required system user.
Solution using the RDP access
- Log into the server via RDP.
- Open the command prompt as an Administrator.
- Execute the command below to change system user of the
example.com
subscription to johndoe:
C:\> plesk bin subscription --update example.com -login johndoe
Note: replace the johndoe with the name of the required system user.
Comments
8 comments
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.
Hello @Iskander,
Thank you for your question.
To change the subscription's system user name via CLI, please use the following command:
I modified the article on this matter as well.
Hi @Daria Gavrilova,
Thanks for your reply
How do I do this? I am not a developer.
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:
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?
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-
On this page you write:
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:
Please sign in to leave a comment.