Need to SC prompt from maintanance mode


 
Thread Tools Search this Thread
Operating Systems Solaris Need to SC prompt from maintanance mode
# 1  
Old 08-07-2013
Oracle Need to SC prompt from maintanance mode

Hi All,

My server is at maintanace mode and i dont have root password. how can i go back to SC prompt from here. Ctrl+d is not working to bypass the activity.
Code:
Root password for system maintenance (control-d to bypass):
Login incorrect
Root password for system maintenance (control-d to bypass):


Last edited by Scott; 08-07-2013 at 08:08 AM.. Reason: Removed formatting; added code tags
# 2  
Old 08-07-2013
I don't know if this helps but from sc> you can do: start SP/console. Answer "yes" to the question and it will take you to the console. You may have to press Enter.

But maybe I don't understand your question exactly.
# 3  
Old 08-07-2013
i took the help of hardware team.

Now i want to reset the root password from cdrom ( single user mode).

bacause of export "term variable" i am unble to edit shadow file.

i did below but it is working on the console

TERM=vt100
export TERM

could you please advice
# 4  
Old 08-07-2013
on the assumption that you are able to see output on the screen and enter commands and that you mounted the hard drive on /a, just use sed to edit the /etc/shadow ... make sure you reset the permissions to the file correctly ...
Code:
# ls -l /a/etc/shadow
-r-------- 1 root sys 412 Jul 14 00:04 /a/etc/shadow
# cp -p /a/etc/shadow /a/etc/shadow.tmp
# grep root /a/etc/shadow
root:htWkjhljh.oiuWq2$aQ/56n:1500::::::
# sed "s/root:[0-9a-zA-Z\*\$.\/]*:/root::/" /a/etc/shadow > /tmp/test
# cat /tmp/test
root::1500::::::
....
....
# cat /tmp/test > /a/etc/shadow
# cat /a/etc/shadow
# ls -l /a/etc/shadow

after everything is set, reboot the box and reset the root password ... run rm /etc/shadow.tmp once satisfied that there are no more password-related issues ...
# 5  
Old 08-07-2013
Do you mean the secure console for the ILOM or ALOM? The dealt password is usually changeme if it was not changed.
# 6  
Old 08-07-2013
I'm not sure that I understand your question, but,

Normally, on the serial management port connection, you can use
Code:
#.

to toggle from the O/S serial interface back to the system controller (SC> prompt). From the SC> prompt you can toggle back to the O/S serial console with the command
Code:
console

Is it the root password for the O/S or the root password for the ILOM that you don't have?

You can clear the O/S password by editing /etc/shadow after booting from cd.
You can change the ILOM password with a O/S command.

Please provide more information.

Also, do you know why the system is going into system maintenance mode??

Last edited by hicksd8; 08-08-2013 at 08:39 AM..
# 7  
Old 08-07-2013
Quote:
Originally Posted by Naveen.6025
Hi All,

My server is at maintanace mode and i dont have root password. how can i go back to SC prompt from here. Ctrl+d is not working to bypass the activity.
What kind of server? A bit more information would be really helpfull!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

From a C++ application how to find if a hpux host is in standard mode or trusted mode

is there a way for my C++ application to find out which mode the hpux OS is running in? standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies

2. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies

3. AIX

Maintanance Mode

how to enter stand-alone boot, or maintenance mode option on an aix system (2 Replies)
Discussion started by: wawa90
2 Replies

4. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

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

6. Shell Programming and Scripting

How to use newgrp or sg in user mode without password prompt?

Hi, Is it possible to call newgrp or sg from user mode without password prompt in a Linux script? Thank you. hce (2 Replies)
Discussion started by: hce
2 Replies

7. Solaris

rpc/bind maintanance error

My code Hi Folks, I am getting maintanance error for rpc/bind in one of solaris 10 server.I have tried disable,enabled,cleared all options and dont no how to make online.Please help me Please find the below for details :- Server1> svcs -a rpc/bind svcs: -a ignored when used with... (0 Replies)
Discussion started by: susindram
0 Replies

8. Solaris

Solaris machine is at # prompt not able to login in GUI mode

Solaris machine is at # prompt not able to login in GUI mode : I want to login solaris server in GUI mode from # prompt. ---------- Post updated 12-30-11 at 11:36 AM ---------- Previous update was 12-29-11 at 02:23 PM ---------- Hi, Please send me some guidelines regarding this.... as... (2 Replies)
Discussion started by: sunray
2 Replies

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

10. SuSE

Convet Linux OS from text mode to graphic mode

Hi All, I used to have my suse linux(VM) server in graphic mode but not anymore since morning. I cant rolback since i loose somuch work. Any idea how to it back to normal. Thanks (6 Replies)
Discussion started by: s_linux
6 Replies
Login or Register to Ask a Question