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

Posted May 3, 2017 1.6k views
Linux CommandsUbuntu 16.04

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?

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.

Submit an Answer
1 answer

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…

  • Did you really comment a login issue on a post from 2017?? Really??

    Contact support not a random customer of DO via a hard to understand comment on a unrelated post from years ago.