![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to Single user mode? | gkreddy | UNIX for Dummies Questions & Answers | 1 | 10-26-2007 01:31 AM |
| How to boot in single user mode | sube | UNIX for Dummies Questions & Answers | 7 | 08-24-2007 01:34 AM |
| single user mode | ankit.jss | UNIX for Advanced & Expert Users | 1 | 11-16-2006 06:58 AM |
| single user mode | kekanap | UNIX for Advanced & Expert Users | 5 | 07-29-2005 12:06 PM |
| single-user mode | zorro81 | UNIX for Dummies Questions & Answers | 2 | 04-06-2002 07:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Boot in Single-Mode
Hi All,
I have AIX 5.1 & I forgot the root password. I find out the solution is to boot in single-mode and remove the root password from the /etc/passwd file. My question is how to boot in single-mode? Also is there any password required when booting in this mode? |
|
|||||
|
Quote:
Edit: This excellent thread has been added to the FAQ! Thanks everyone. Last edited by Perderabo; 06-16-2005 at 09:00 AM.. |
|
||||
|
You need physical access to the machine to do the following:
1. switch off the machine 2. power on and enter the SMS menu 3. in the SMS menu there is a option called "Maintenance shell" or something such (I don't have an AIX machine at hand to try that out, but the option is named pretty intuitive). 4. varyon rootvg, mount / 5. edit /etc/passwd and /etc/security/passwd 6. boot normally bakunin |
|
||||
|
The IBM way...
Reset an Unknown Root Password
The following procedure describes how to recover access to root privileges when the system's root password is unavailable or unknown. The following procedure requires some system downtime. If possible, schedule your downtime when it least impacts your workload to protect yourself from a possible loss of data or functionality. Insert the product media for the same version and level as the current installation into the appropriate drive. Power on the machine. When the screen of icons appears, or when you hear a double beep, press the F1 key repeatedly until the System Management Services menu appears. Select Multiboot. Select Install From. Select the device that holds the product media and then select Install. Select the AIX version icon. Define your current system as the system console by pressing the F1 key and then press Enter. Select the number of your preferred language and press Enter. Choose Start Maintenance Mode for System Recovery by typing 3 and press Enter. 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. Type 0 and press Enter. Type the number of the appropriate volume group from the list and press Enter. Select Access this Volume Group and start a shell by typing 1 and press Enter. 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: To write everything from the buffer to the hard disk and reboot the system, type the following: sync;sync;sync;reboot When the login screen appears, the password you set in step 15 should now permit access to root privileges. AIX_dude |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|