000031358 - RSA VIA L&G / IMG / Aveksa - How to reset root's password on a SUSE based hardware appliance

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000031358
Applies ToRSA VIA Lifecycle and Governance 7.0
RSA IMG 6.9.1
Hardware Appliance
SUSE Linux 11 SP2 / SP3
ResolutionThese are steps for resetting the root password when it is not known for a RSA Via Lifecycle and Governance hardware appliance. (formerly IMG, Aveksa)
First you must have access to the true console to the system.  Not just an ssh or non graphical terminal.  Remote console through a remote lights out such as DRAC would be sufficient or a network KVM.
After powering on the system you will see the graphical SUSE Linux selection screen that lets you choose between Standard, Failsafe, and Floppy boot.
As soon as you are presented with this menu press the down arrow key to stop the countdown, then press the up arrow to have the top choice highlighted.
With the top selection highlighted type init=/bin/sh which will append this to the Boot Options line near the bottom  of the screen.
It will look like this screenshot, note the contents of the Boot Options has the added init=/bin/sh:
Boot Selection Screen
Now press enter to boot the OS
Once you are given a shell prompt execute the following commands:
lvm vgscan -v
mount /dev/system/root /mnt
mount --bind /dev /mnt/dev
chroot /mnt
passwd root
You will be prompted to set a password for root and to confirm the password.  After which run these additional commands.
sync
exit
reboot
Your root password is now set to what you provided to the prompt.  Here is a screenshot of the procedure having been performed using the above commands:

Demo

 

Attachments

    Outcomes