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

May 3, 2017 111 views
Linux Commands Ubuntu 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?

Be the first one to answer this question.