Run a command on a RSSH locked user once from admin account

Basically I want to run a command like COMPOSER as a user that is under a SFTP only RSSH jail, but when running as sudo su - userb -c it still is locked and returns only ‘This account is restricted by rssh.’. This is good but this one command that will be a PANEL run command from a remote server. Any ideas?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I sign in with my account but the program shows me that my account got lockked from the Digitalocean so plz if anyone can helps me to fix this issue. thanks for listening…