[Solved] Can't get into single user mode - sulogin was disabled


 
Thread Tools Search this Thread
Operating Systems Solaris [Solved] Can't get into single user mode - sulogin was disabled
# 1  
Old 10-17-2013
[Solved] Can't get into single user mode - sulogin was disabled

Solaris 10
trying to patch and therefore want to do this from single user mode

I do a
Code:
init 0

get's me to ok> Smilie

Code:
ok> boot -s

I was a UK Sun Field Engineer for 10 years ..... I've used "boot -s " quite a bit .....

I get a console login , which I subsequently login into

Code:
#who -r

returns run-level 3

?

can I force single user mode ?

Martin
# 2  
Old 10-17-2013
Code:
init s
# or
shutdown -i s -g 0 -y

all should work just fine. init 0 is power off
# 3  
Old 10-17-2013
Quote:
Originally Posted by jim mcnamara
Code:
init s
# or
shutdown -i s -g 0 -y

all should work just fine. init 0 is power off
No it isn't, init 5 is power off. init 0 drops you back to the OBP

will try the shutdown

cheers
# 4  
Old 10-17-2013
You are correct.
# 5  
Old 10-17-2013
Quote:
Originally Posted by jlliagre
Read closer, that's not a 5 but a lowercase s (an uppercase S will equally do)
?

Code:
init 5

( five ) is poweroff, physically powers the box off.
Code:
init s

or S is singleuser (though different apparently)

Jim said
Code:
init 0

is poweroff which it isn't.
Code:
init 0

takes you from a running OS to the OBP.
# 6  
Old 10-17-2013
You're splitting hairs. init 0 is as close to powering off as you could get without "powering off".

Jim's point is that you should use init s not init 0.
# 7  
Old 10-17-2013
what would you expect a
Code:
who -r

to return once booted into single user ?

I'd expect an s or maybe 1 , definitely not 3

---------- Post updated at 11:05 AM ---------- Previous update was at 10:58 AM ----------

Quote:
Originally Posted by Scott
You're splitting hairs. init 0 is as close to powering off as you could get without "powering off".

Jim's point is that you should use init s not init 0.
Thats not splitting hairs at all. init 5 physically powers the box off. init 0 drops you back to the OBP from where you can then boot to any desired state. 2 totally different outcomes.

However, this isn't my concern.

I'm interested in Singleuser not OBP.
Why do I get runlevel 3 not S or 1 when I try and
Code:
boot -s

or
Code:
shutdown -i s -g 0 -y

as I've just done..... this has actually fully booted the system back in multiuser mode.
Is there a way of disabling booting to singleuser? inittab?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Single user mode

Dear All I am trying to install my os as : ok>boot cdrom - install but receiving the following : "IDprom checksum error getexecname() failed /sbin/rcS /etc/vfstab cannot create INIT:failed write utmpx enrty INIT:single user mode INIT:execle of /etc/sulogin failed Enter run level" Can you... (6 Replies)
Discussion started by: hadimotamedi
6 Replies

2. Solaris

Single user mode

Hi all I am new on sun OS. I have have little experience on linux. The Story start from this point: I want to put some script on start-up the terminal, but I cant do that. my shell was sh and I tried so much to find way to do that. at last someone said to me change your shell to bash. I ask how... (4 Replies)
Discussion started by: Rahim_T
4 Replies

3. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 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 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

6. 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

7. Solaris

adding a user in single user mode

Just got a solaris 8 blade 150 box with no users, only a root account. no one seems to know the password. I'd like to add one user. So I booted into single user mode via cdrom and added one. Can't seem to login using the new account, though. Here's what I'm using: # useradd -d /tmp/"user" -m... (1 Reply)
Discussion started by: ECBROWN
1 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