Thursday, September 15, 2016

How to reset the unknown root password in aix?

How to reset the unknown root password in aix?


1. Ground work:

Get the hmc details
Get the hscroot password of the HMC
Make sure CD available on the server.
Login to hmc and reboot the server from sms mode


2. Implementation

(Boot the server in sms mode and follow the below steps)

5. Select boot options
1. Select install/Boot device
4. IDE
1. IDE-CDROM
3. Service mode boot
1 Yes (Exit sms)
1. Type 1 and press enter to have english during install
3. Start maintenance mode for system recovery
1. Access a root volume group
0 Continue
1 (Select the boot device)
1. Access this volume group and start a shell

# passwd
Changing password for "root"
root's New password:
Enter the new password again:
sync;sync;sync;reboot
                     
3. Validation

login to the server with the new password and confirm you can logon successfully.

4. Downtime
Yes downtime required for this task.

Note: If you dont have CD to boot up the server in maintenance mode, then you can use the NIM server to get maintenance mode. Please see the link below.
http://howtoaix.blogspot.in/2015/04/how-to-boot-server-into-maintenance.html