Out of the box all JumpBox applications ship with the root account and SSH disabled. However, it is possible to run shell commands with root privileges using the following process.
- Register the JumpBox
- Enable shell logins using the account tool in the JumpBox Admin UI
- Log into the JumpBox using the account 'admin' and the password you gave during setup.
- Use the sudo command to execute commands as root. Sudo will ask you for a password where you should enter the password for the admin account. You can run any command you want this way.
Note: There isn't any need to do this, but if you really, really want to use the root account directly you can set a password for it by using sudo.
sudo passwd root
To delete a file owned by root
sudo rm /tmp/file
To become the root user for a while you can run this:
sudo -i
When done performing actions as the root user you log out with CTRL+D.
NOTE: Be careful while doing things as the root user. You could break your JumpBox and lose anything you have stored on it.