How can I create an admin account from SSH?
December 17, 2023
From time to time, it may be necessary to create an admin account via SSH. Once you have SSH’d to the rXg, elevate to root. You can use the create_admin command with the options below.
SSH to the rXg as root.
create_admin # -p : prompt for password # -r : admin rold # -s : ssh key
Demonstration
lab1# create_admin tcb -r please wait Existing Roles: 1: Super User 2: Read Only 3: Web Designer 4: Conference Controller 5: Conference User 6: RG Nets Enter admin role selection from the list above:
Once you select a role, the admin account will be created with a randomized password. If you want to specify the password, you can add the option -p, and you will be prompted to enter a password for the account after selecting the role.