Boot in Single-Mode


 
Thread Tools Search this Thread
Operating Systems AIX Boot in Single-Mode
# 1  
Old 05-14-2005
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?
# 2  
Old 05-15-2005
AIX Guides - a place to look.

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

Last edited by RTM; 05-15-2005 at 10:12 AM..
# 3  
Old 05-15-2005
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 10:00 AM..
# 4  
Old 05-15-2005
Is this any help?
Cheers
ZB
# 5  
Old 06-14-2005
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
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
Thanks a lot bakunin for your response. I will try these steps & I hope to work well.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

What is the difference between single line mode and multiline mode in Regular expressions?

Hi All, Can please let me know what is the difference between the single line mode and multi line mode in regular expresions? Thanks, Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies

2. Solaris

Boot on single user mode with net services

Hi everybody, I'm running soalris 10, and I would like to know if it posible to boot on single user mode(init s), and then set up (may be manually or not) all the networks services, did someone try this before?? Tks (4 Replies)
Discussion started by: jespada
4 Replies

3. Solaris

Cannot boot in single-user mode

I have Sun 240 server with Solaris 8 installed. I go to OBP and try to boot in single-user mode but it is getting hung in the middle and the only way to get out of this situation is by going to the LOM and resetting the server. Here is what is happening: {0} ok boot -s SC Alert: Host System... (18 Replies)
Discussion started by: StarSol
18 Replies

4. UNIX for Dummies Questions & Answers

how to Single user mode?

How to enter single user mode when UNIX/LINUX system is starting? (1 Reply)
Discussion started by: gkreddy
1 Replies

5. UNIX for Dummies Questions & Answers

How to boot in single user mode

My machine is a HP-UX 11iV2. I want to boot it in the single user mode. Any ideas? Regards (7 Replies)
Discussion started by: sube
7 Replies

6. UNIX for Advanced & Expert Users

single user mode

How to diable the single user mode.. what i want is dat my users are unable to boot in single user mode via GRUB.. (1 Reply)
Discussion started by: ankit.jss
1 Replies

7. UNIX for Advanced & Expert Users

single user mode

Is there another way of switching to single user mode except by typing /usr/sbin/shutdown 0 ??? :rolleyes: (5 Replies)
Discussion started by: kekanap
5 Replies

8. UNIX for Dummies Questions & Answers

single-user mode

how do you boot into single user mode? RedHat 7.1 Caldera 2.4 (2 Replies)
Discussion started by: zorro81
2 Replies

9. UNIX for Dummies Questions & Answers

Single user mode

Hi all, Well back at work and back to crashing systems again :-) Does anyone know where I can find some decent information on single user mode? I need to be able to fix a few things. Don't know if it's possible in single user mode but I need to fix the "etc/vfstab" mainly I re-wrote it to... (2 Replies)
Discussion started by: merlin
2 Replies

10. UNIX for Dummies Questions & Answers

single user mode

Hi all, why "vi" acts differently is single user mode? Does anyone help ? I am using "x" to delete and it keeps messing up. Please help Thanks (2 Replies)
Discussion started by: guest100
2 Replies
Login or Register to Ask a Question