A simple guide for changing your OS root password if you already have it and what to do if you do not have your root password
These instructions will help you change the root password used for connecting via SSH or to reboot your Unitrends system.
When you know the OS password
Click CONFIGURE. From the Appliances tab, select the Unitrends System.
- Click the button to open the Edit Appliance dialogue box.
- Click on the Advanced tab.
- At the bottom, click the OS Password button.
- Follow the instructions to enter the current and new password, then click Save.
From the Command Line Interface using an SSH connection
- Using an SSH terminal software (e.g. PuTTY), connect to the Unitrends system (IP address or hostname if DNS resolves it) and authenticate using the root user credentials.
- At the command prompt, enter the command passwd and enter your new password when prompted.
When you do not know the OS password
Use the Unitrends Console Interface to edit the root password using the configuration wizard.
- Recovery-Series appliance: attach keyboard and VGA monitor
- Virtual Appliance (UEB or UB): use the Hypervisor console option of the Guest VM (VMware/Hyper-v/Xenserver)
You should see a list of four options on this screen. Select Console Access Password Setup (UNIX Password for older systems).
(Screen shot showing menu order as of v.10.3.9)
If you do not see a similar menu as displayed above, reboot your Unitrends. Once the system reboots, it will load this menu. If you still do not see this menu, proceed to the following steps in Option 2.
Note: In Hyper-V, it may not be possible to access this screen when using RDP to the hyper-V host. Please ensure you are locally logged onto the physical server when accessing the UEB console through Hyper-V manager, or are running the Hyper-V manager directly from your local Windows 8 workstation.
CentOS 7 deployments: Starting with CentOS 7 we have seen occurrences where the password reset via passwd command or Console option 1 will loop multiple times (some examples had it prompt 6 times) to re-enter the confirmation password. This is considered normal and expected. Continue entering until prompted that the password has been successfully reset.
To remove the Linux root password:
- Reboot the system, and when you are at the Grub kernel selection prompt, press 'e' for edit. You may only have 2 seconds to do this, so be quick.
- This will take you to another screen where you should select the entry that begins with 'kernel' and press 'e' again.
- Append ' single' to the end of that line (without the quotes). Make sure that there is a space between what's there and 'single'. Hit 'Enter' to save the changes.
- Press 'b' to boot into Single User Mode.
- Once the system finishes booting, you will be logged in as root. Use passwd and choose a new password for root.
- Type reboot to reboot the system, and you can login with the new password you just selected.