Maintenance mode


 
Thread Tools Search this Thread
Operating Systems Solaris Maintenance mode
# 8  
Old 11-18-2017
From your last post guess this is Solaris 11 in which 'root' is a role by default for improved security.

If you are used to Solaris 10 and prefer to work that way then you can convert the root role into a normal account using (you must be superuser first):

Code:
# rolemod -K type=normal root

then set the root passwd:

Code:
# passwd root

You can then login as root just like Solaris 10 and you will know the root password for single user startup.

When done you can revert root to a role using 'usermod' command.
This User Gave Thanks to hicksd8 For This Post:
# 9  
Old 11-19-2017
thanks, i will give that a try, but my issue is on Solaris 10. we most likely will not go to 11 now since, development has ended. Will prob move to Linux.
# 10  
Old 11-19-2017
I would be careful with rolemod. Not that at the end root lost its superuser role and cannot gain it back...
You see, I have never used rolemod.
I would rather save /etc/shadow (with cp to a new file) or save root's password hash.
Then set a new root password. Then reboot to single-user, now typing the root password, patching the OS, and reboot.
When everything is nice and shiny again, you can restore the shadow file (with cp) or root's password hash, so the old unknown password is back.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to put VIOS in Maintenance mode?

Hi this may be a easy question to answer but thanks in advance. So I was able to download the VIOS media from IBM and currently I am burning it to a cd/dvd right now. The steps I've collected so far are from the net. can you please confirm and add on to the steps if there are any steps... (0 Replies)
Discussion started by: Adnans2k
0 Replies

2. Solaris

/network/smb/server goes into maintenance mode.

All I'm running an OpenSolaris system (Nexenta). When doing a svcs I see that/network/smb/server is in maintenance mode. I have run a clear on the service and restarted. I see the same service show online* for a bit but then, enters maintenance every time. In the service log I... (2 Replies)
Discussion started by: dcpatriot
2 Replies

3. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

4. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

5. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

6. Solaris

Samba service in maintenance mode ???

I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba. Samba has worked on this machine but since the machine has been re-booted Samba has not worked. Machine details are: cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008... (2 Replies)
Discussion started by: KenLynch
2 Replies

7. Solaris

Process in maintenance mode, why?

Hi, I have installed Hudson on a Solaris 11 server, using the installation instructions available at Paul Oswald: Hudson Solaris SMF Manifest. When I perform svcs -l hudson, I get: fmri svc:/application/hudson:default name Hudson Continuous Build Server enabled true... (4 Replies)
Discussion started by: JVerstry
4 Replies

8. Solaris

FTP is in maintenance mode always

Hello All, On solaris 10 server i could see the FTP service is in maintenance mode always :mad: Could some assist? svcs -xv svc:/network/nfs/nlockmgr:default (NFS lock manager) State: maintenance since Tue 28 Jul 2009 11:47:55 AM BST Reason: Restarting too quickly. See: Sun... (5 Replies)
Discussion started by: bullz26
5 Replies

9. Solaris

Machine is booting to maintenance mode.

I had a power failure the other day and when my relatively new Solaris 10 machine rebooted it is thrown into maintenance mode. I've found the following lines in the /var/adm/messages file, I'm assuming this is the root cause of the problem. However, I don't have the slightest idea on how to... (9 Replies)
Discussion started by: cheetobandito
9 Replies

10. HP-UX

Maintenance mode boot(MMB) and recovery

hi, i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk. To explicitly corrupt this entry i think a simple dd will work. ok let me elaborate this issue: i need to check this functionality. so i have one LVM boot disk and one... (0 Replies)
Discussion started by: mxms755
0 Replies
Login or Register to Ask a Question