Go Back   The UNIX and Linux Forums > Operating Systems > AIX
google site



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-14-2005
Registered User
 

Join Date: Apr 2005
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Sponsored Links
  #2  
Old 05-15-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,090
Thanks: 0
Thanked 6 Times in 3 Posts
AIX Guides - a place to look.

And although it isn't detailed, see Forgot root password

Last edited by RTM; 05-15-2005 at 09:12 AM..
  #3  
Old 05-15-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,147
Thanks: 0
Thanked 13 Times in 12 Posts
Quote:
Originally Posted by RTM
And although it isn't detailed, see Forgot root password
Sadly this thread is the only one I could find for AIX as was assembling the faq on this subject. If you find a detailed procedure that works, please post it here and I'll add it to the faq.

Edit:

This excellent thread has been added to the FAQ! Thanks everyone.

Last edited by Perderabo; 06-16-2005 at 09:00 AM..
  #4  
Old 05-15-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Thanks: 0
Thanked 2 Times in 2 Posts
Is this any help?
Cheers
ZB
  #5  
Old 06-14-2005
Registered User
 

Join Date: Apr 2005
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry for late respond, thanks for all. But I noted that the AIX CD is required. Actually I don't have the CD, so is there any possible solution doesn't require the AIX CD.
  #6  
Old 06-15-2005
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,887
Thanks: 4
Thanked 17 Times in 16 Posts
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
  #7  
Old 06-16-2005
Registered User
 

Join Date: Apr 2005
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks a lot bakunin for your response. I will try these steps & I hope to work well.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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 05: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



All times are GMT -4. The time now is 02:29 AM.