07-29-2005
On AIX :
telinit s
Greetz,
Eric
10 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 Dummies Questions & Answers
how do you boot into single user mode?
RedHat 7.1
Caldera 2.4 (2 Replies)
Discussion started by: zorro81
2 Replies
4. Solaris
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
5. UNIX for Advanced & Expert Users
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 Dummies Questions & Answers
How to enter single user mode when UNIX/LINUX system is starting? (1 Reply)
Discussion started by: gkreddy
1 Replies
7. 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
8. UNIX for Dummies Questions & Answers
Hi as per the article given.
Boot Linux Grub Into Single User Mode
I m modifying the boot entry
grub edit> kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet Singleand then booting from it by pressing b.
However the machine is getting booted into runlevel 5.
if the... (2 Replies)
Discussion started by: pinga123
2 Replies
9. 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
10. 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 LINUX
telinit
telinit(8) System Manager's Manual telinit(8)
NAME
telinit - change system runlevel
SYNOPSIS
telinit [OPTION]... RUNLEVEL
DESCRIPTION
telinit may be used to change the system runlevel.
The RUNLEVEL argument should be one of the multi-user runlevels 2-5, 0 to halt the system, 6 to reboot the system or 1 to bring the system
down into single-user mode.
Normally you would use the shutdown(8) tool to halt or reboot the system, or to bring it down to single-user mode.
RUNLEVEL may also be S or s which will place the system directly into single-user mode without actually stopping processes first, you prob-
ably won't want that.
The runlevel is changed by emitting the runlevel(7) event, which includes the new runlevel in the RUNLEVEL environment variable as well as
the previous runlevel (obtained from the environment or from /var/run/utmp) in the PREVLEVEL variable.
telinit will write the new runlevel to /var/run/utmp and append a new entry to /var/log/wtmp.
Other commands
telinit may be also used to send basic commands to the init(8) daemon for compatibility with System V. These are:
Q or q to request that init(8) reload its configuration. This is rarely necessary since Upstart watches its configuration with inotify(7)
and is deprecated by the initctl(8) reload-configuration command.
U or u to request that the init(8) daemon re-execute itself. This is not recommended since Upstart is currently unable to preserve its
state, but is necessary when upgrading system libraries.
OPTIONS
-e KEY=VALUE
This specifies an additional environment variable to be included in the event along with RUNLEVEL and PREVLEVEL.
ENVIRONMENT
RUNLEVEL
telinit will read the current runlevel from this environment variable if set in preference to reading from /var/run/utmp
FILES
/var/run/utmp
Where the current runlevel will be read from; this file will also be updated with the new runlevel.
/var/log/wtmp
A new runlevel record will be appended to this file for the new runlevel.
NOTES
The Upstart init(8) daemon does not keep track of runlevels itself, instead they are implemented entirely by its userspace tools.
See runlevel(7) for more details.
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
runlevel(7) init(8) initctl(8) shutdown(8) runlevel(8)
Upstart 2009-07-09 telinit(8)