12-15-2009
Quote:
Originally Posted by
incredible
The design of previous release and Solaris 10 too is, if the milestone is transitioned to single-user, network services will be disabled or go to maintenance state
nicely told...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Advanced & Expert Users
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
4. AIX
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? (9 Replies)
Discussion started by: aldowsary
9 Replies
5. UNIX for Dummies Questions & Answers
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 Dummies Questions & Answers
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
7. Solaris
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
8. Solaris
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
9. Solaris
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
LEARN ABOUT OPENDARWIN
mach_init
MACH_INIT(8) BSD System Manager's Manual MACH_INIT(8)
NAME
mach_init -- Mach service naming (bootstrap) daemon
SYNOPSIS
mach_init [-D] [-d] [-F] [-r name-in-existing-server]
DESCRIPTION
mach_init is a daemon that maintains various mappings between service names and the Mach ports that provide access to those services.
Clients of mach_init can register and lookup services, create new mapping subsets, and associate services with declared servers. The
mach_init daemon will also be responsible for launching (and/or re-launching) those service providing servers when attempts to use one or
more of the associated services is detected.
The options are as follows:
-D When the -D option is specified, mach_init starts in normal (non-debug) mode. Logging is minimal (only security-related and process
launch failures are logged). Core dumps are disabled for launched servers. This is the default.
-d When the -d option is specified, mach_init starts in debug mode. Logging is extensive. Core dumps will be taken for any launched
servers that crash.
-F When the -F option is specified, mach_init forks during initialization so that it doesn't have to be put in the background manually
by the caller.
-r Using the -r option tells mach_init to register itself in a previously running copy of mach_init under the service name
name-in-existing-server. This is most useful when debugging new instances of mach_init itself, but can also be used for robustness or
to allow the subsequent mach_init processes to run as a non-root user. As mach_init is often used to launch servers, this could be
more secure. However, mach_init will not allow a server declaration to specify a user id different than that of the requesting
client (unless the client is running as root). So it shouldn't be required for a secure configuration.
Access to mach_init is provided through the bootstrap series of RPC APIs over service ports published by mach_init itself. Each Mach task has
an assigned bootstrap port retrieved via task_get_bootstrap_port(). These bootstrap port registrations are inherited across fork().
The service registrations are grouped into subsets, providing a level of security. Only processes with access to the subset's bootstrap port
will be able to register/lookup Mach ports within that subset. Lookups from within a subset will search the subset first, then move on to
its parent, and then its grand-parent, etc... until a string name match is found or the top of the bootstrap tree is reached. Subsets are
sometimes associated with login sessions to protect session-specific ports from being exposed outside the session.
The first instance of mach_init is responsible for launching the traditional BSD process control initialization daemon (/sbin/init).
SAMPLE USAGE
mach_init -d -r com.company.bootstrap
mach_init will start in debug mode, and register itself in an already running instance of mach_init under the service name com.company.boot-
strap.
NOTE
Sending a SIGHUP to a running mach_init will toggle debug mode.
SEE ALSO
init(8)
Mac OS X March 20, 2002 Mac OS X