[1917] in RedHat Linux List

home help back first fref pref prev next nref lref last post

bug (?) in shutdown

daemon@ATHENA.MIT.EDU (Levente Farkas)
Wed Oct 30 18:18:57 1996

Date: Wed, 30 Oct 1996 23:49:17 +0100 (MET)
From: Levente Farkas <lfarkas@u-szeged.hu>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi,
Now the shutdown manual is included and I read in it:
Access Control
       Shutdown can be called from init(8) when  the  magic  keys
       CTRL-ALT-DEL are pressed, by creating an appropriate entry
       in /etc/inittab. This means that everyone who has physical
       access  to  the console keyboard can shut the system down.
       To prevent this, shutdown can check to see  if  an  autho-
       rized user is logged in on one of the virtual consoles. If
       shutdown is called from init, it checks to see if the file
       /etc/shutdown.allow  is  present.   It  then  compares the
       login names in that file with the list of people that  are
       logged  in on a virtual console (from /var/run/utmp). Only
       if one of those authorized users or root is logged in,  it
       will proceed. Otherwise it will write the message

       shutdown: no authorized users logged in

       to the (physical) system console. The format of /etc/shut-
       down.allow is one user name per line. Empty lines and com-
       ment  lines (prefixed by a #) are allowed. Currently there
       is a limit of 32 users in this file.

I have an /etc/shutdown.allow with a few login, but if no one login
and I push CTRL-ALT-DEL than the system shut down and if I login as
a user who not listed in /etc/shutdown.allow and press CTRL-ALT-DEL
the result is the same. I thought in this case the system doesn't
allow the shutdown. And I'm unable to get the :
shutdown: no authorized users logged in
message.

So I misunderstand the manual, this is a bug or this is a "believe or
not Linux standard"?

btw. I'm not on the redhat-list (I can't handle so much message) so I
read this list on the web. But the list October-4 ended at Oct. 26.
and the October-5 started at Oct. 28. where is the missing 2 days?
I send I a few mail in this time and I wanna read the answer or the
mail server is crash? (cause in this case I bounce these mails.

-- Levente

---------------------------------------------------------------------
E-Mail:   Levente Farkas <lfarkas@u-szeged.hu>
Homepage: http://www.inf.u-szeged.hu/~lfarkas/
Finger for PGP public key & Geek Code: lfarkas@sol.cc.u-szeged.hu
This message was sent by XF-Mail, Date: 10/30/96  Time: 23:49:18
---------------------------------------------------------------------


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post