AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#Power

 View Only
  • 1.  sms mode

    Posted Tue February 25, 2014 11:09 PM

    Originally posted by: adityagattupalli


    when i am trying to recover the  root password through nim , after entering smsmode and selecting boot devices ......,

    i selected option 3 (boot in service mode)

     My concern is whether the os image is reinstalled from the network mksysb or it uses the network mksysb image to reset password .

    Thanks


    #AIX-Forum


  • 2.  Re: sms mode

    Posted Tue March 11, 2014 05:55 PM

    Originally posted by: GarlandJoseph


    Are you trying to reset the root password?  I am not sure what you mean  by trying to recover the root password from NIM.  You can use NIM to boot in maintenance mode, then access the root volume group to change the root password, then reboot...

     

    something like...

     

    1. Define your current system as the system console by pressing the F1 key and then press Enter.
    2. Select the number of your preferred language and press Enter.
    3. Choose Start Maintenance Mode for System Recovery by typing 3 and press Enter.
    4. Select Access a Root Volume Group. A message displays explaining that you will not be able to return to the Installation menus without rebooting if you change the root volume group at this point.
    5. Type 0 and press Enter.
    6. Type the number of the appropriate volume group from the list and press Enter.
    7. Select Access this Volume Group and start a shell by typing 1 and press Enter.
    8. At the # (number sign) prompt, type the passwd command at the command line prompt to reset the root password. For example:
      # passwd
      Changing password for "root"
      root's New password: 
      Enter the new password again:
      
    9. To write everything from the buffer to the hard disk and reboot the system, type the following:
      sync;sync;sync;reboot
      

    #AIX-Forum