11-18-2017
Quote:
Originally Posted by
goya
yes sysad, but only have a role as root. have to su - user with role , can not su - directly , so when in the Ilom if it asks for
Root password for system maintenance (control -d to bypass) , I don't have root so my only option is to control -d.
but when I do that I am In the run level 3.
I can get a console login,
su - role
but I don't want to patch in run level 3. that could be bad.
Allowing a random user to login to your system with root privileges without knowing the root password could also be bad. There is frequently a trade-off between safe versus secure. This is one of those cases. A system administrator responsible for taking care of a system when it is broken should always have the password(s) and access to the system needed to figure out what is going wrong on that system and to fix that system.
If you can bring up the system multi-user, login as you,
su to the root role, and bring the system down to single-user mode without loging out, that might provide you with a safe environment for diagnosing and fixing your problems. If you can't do that, there isn't much we can do to help you.
This User Gave Thanks to Don Cragun For This Post:
10 More Discussions You Might Find Interesting
1. HP-UX
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
2. Solaris
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
3. Solaris
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
4. Solaris
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
5. Solaris
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
6. Solaris
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
7. Solaris
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
8. Solaris
: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
9. Solaris
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
10. AIX
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
LEARN ABOUT MOJAVE
sulogin
sulogin(1M) System Administration Commands sulogin(1M)
NAME
sulogin - access single-user mode
SYNOPSIS
sulogin
DESCRIPTION
The sulogin utility is automatically invoked by init when the system is first started. It prompts the user to type the root password to
enter system maintenance mode (single-user mode) or to type EOF (typically <CTRL-D>) for normal startup (multi-user mode). The user should
never directly invoke sulogin.
The sulogin utility can prompt the user to enter the root password on a variable number of serial console devices, in addition to the tra-
ditional console device. See consadm(1M) and msglog(7D) for a description of how to configure a serial device to display the single-user
login prompt.
FILES
/etc/default/sulogin Default value can be set for the following flag:
PASSREQ Determines if login requires a password. Default is PASSREQ=YES.
/etc/default/login Default value can be set for the following flag:
SLEEPTIME If present, sets the number of seconds to wait before login failure is printed to the screen and
another login attempt is allowed. Default is 4 seconds. Minimum is 0 seconds. Maximum is 5 seconds.
Both su(1M) and login(1) are affected by the value of SLEEPTIME.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
SEE ALSO
login(1), consadm(1M), init(1M), su(1M), attributes(5), msglog(7D)
SunOS 5.10 25 Sep 2002 sulogin(1M)