baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: Neo Sze Wee <neoszewee AT gmx.net>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] Fwd: Can't shutdown or halt from X (BL2)
- Date: Sun, 29 Jun 2003 13:46:02 +0000
On Sun, Jun 29, 2003 at 08:14:50AM +0000, qwms-avib AT dea.spamcon.org wrote:
> Day Brown wrote:
> >
> > It's a mystery to me why more script writers have not
> > offered a default single user mode such as dos and
> > windoz users are used to, with default access to all
> > drives and shutdown.
>
> They do. It's called root. Just login as root and you
> have access to everything.
Or you can do this in inittab:
cat /etc/inittab
+---------------------------------------------------------------------
| # /etc/inittab
| # Boot-time system configuration/initialization script.
| # This is run first except when booting in single-user mode.
| ::sysinit:/etc/rc.d/rc.S
|
| # Login /bin/sh invocations on selected ttys.
| #
| # Start a shell on the console
| ::respawn:-/bin/sh
^^^^^^^^^^^^^^^^^^^^^^
| # Start an "askfirst" shell on tty2 and tty3
| tty2::askfirst:-/bin/sh
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| #tty3::askfirst:-/bin/sh
|
| # /sbin/getty invocations for selected ttys.
| #
| #tty1::respawn:/sbin/getty 38400 tty1
| #tty2::respawn:/sbin/getty 38400 tty2
|
| # Example of how to put a getty on a serial line (for a terminal)
| #
| #ttyS0::respawn:/sbin/getty -L ttyS0 9600 vt100
| #ttyS1::respawn:/sbin/getty -L ttyS1 9600 vt100
| #
| # Example how to put a getty on a modem line.
| #ttyS2::respawn:/sbin/getty -x0 -s 57600 ttyS2
|
| # Reboot when ctrl-alt-del keys are pressed.
| #::ctrlaltdel:/sbin/reboot
| #::ctrlaltdel:/sbin/brc
|
| # Stuff to do before halting or rebooting.
| ::shutdown:/sbin/swapoff -a >/dev/null 2>&1
| ::shutdown:/bin/umount -a -r >/dev/null 2>&1
+---------------------------------------------------------------------
>
> Cheers,
> Steven
>
> _______________________________________________
> BasLinux mailing list
> BasLinux AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/baslinux
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2)
, (continued)
- Re: [BL] Fwd: Can't shutdown or halt from X (BL2), qwms-avib, 06/27/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
s0dj11n, 06/27/2003
-
[BL] Links not very useful,
keesan2, 06/28/2003
- Re: [BL] Links not very useful, qwms-avib, 06/28/2003
- Re: [BL] Links not very useful, Day Brown, 06/28/2003
- Re: [BL] Links not very useful, Neo Sze Wee, 06/29/2003
-
[BL] Links not very useful,
keesan2, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
ald2#arrakis, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
qwms-avib, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
Day Brown, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
qwms-avib, 06/28/2003
- Re: [BL] Fwd: Can't shutdown or halt from X (BL2), Neo Sze Wee, 06/29/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
qwms-avib, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
Day Brown, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
qwms-avib, 06/28/2003
-
Re: [BL] Fwd: Can't shutdown or halt from X (BL2),
James Miller, 06/28/2003
- Re: [BL] Fwd: Can't shutdown or halt from X (BL2), qwms-avib, 06/28/2003
Archive powered by MHonArc 2.6.24.