I have a server with Plesk installed, running a couple of webs.
One of them, the-subdomain.com, started as a subdomain of another one, the-domain.com. They were created using the same system user and it was hosted in a subdirectory of httpdocs (httpdocs/the-subdomain).
Now I want to change the-subdomain.com to its own system account, but Plesk does not have the option to do it.
Is there an easy way to do this?
This is how I did:
Unrelated to this, while playing with susbscriptions, I created a system user which then I needed to delete. Plesk hasn't the option to delete the user, so I deleted the account on the machine (userdel -r THE_USER_TO_DELETE
) and then on the Plesk database (use psa; delete from sys_users where login='THE_USER_TO_DELETE';
)