I have an Ubuntu server (CloudPanel installed), I can add new sites with user ubuntu by CLI using something like
clpctl site:add:php --domainName=www.domain.com --phpVersion=8.1 --vhostTemplate='Generic' --siteUser=john --siteUserPassword='!secretPassword!'
But, this command works only ubuntu user, I need to give user "site1" privileges to use this command too. I need add new sites with user "site1".
How to give this privileges?
I have root, SSH and sFTP access.