Restoring root login to AirWave AMP virtual appliance post upgrade
09-15-2017 01:46 PM
Post upgrade to 18.104.22.168 from 8.2.3 installed the AirWave Managment menu shell and account (default ampadmin) but also disabled root login via ssh and console. That doesn't fly with me. To re-enable root logons after an upgrade, simply shut down the appliance and boot into a live CD environment like Sysrescue or any other Live CD/DVD, and mount the root parition of the AMP appliance. Edit the <mount/point/etc/passwd file replacing <mount/point> with where ever you mounted the AMP appliance's root partition and find the root account string, usually first line and remove the /sbin/nologin and replace it with /bin/bash. Save and reboot. This should restore root logins while maintaining the ampadmin "menu" option. Another option or in addition to that, you can install Webmin which will provide another way to manage the underlying Linux system. Note that if you still have an active root login i.e. you haven't rebooted or logged out after the upgrade, you can just edit /etc/passwd and not have to mount the root partition etc.
Re: Restoring root login to AirWave AMP virtual appliance post upgrade
01-19-2018 08:59 AM
Thanks, but I am not trying to restore root access. I am in Federal and have run the STIG script to prevent this. I just need to be able to login with ampadmin again.