[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutdown als user??

Essam Taleeb schrieb am Montag, 12. Januar 2004 um 18:11:14 +0100:
> Ich habe ein Problem , ich kann nicht shutdown als user ausfuehren, ich
> muss jedes Mal, auslogen und dann als root einlogen, damit ich mein
> computer runter fahre.
> Wenn ich als user shutdown aufrufe, become ich command not found.
> Und bei dieser Debian Login-fenster kann ich auch nicht machen, ich muss
> als root einloge.
> Kann mir jemand helfen!!!?
aus man shutdown:
       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 with the -a argument (add this to the invocation  of  shutdown  in
       /etc/inittab), 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 peo-
       ple 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/shutdown.allow is one user name per line. Empty lines and comment lines (prefixed by a #)
       are allowed. Currently there is a limit of 32 users in this file.
       Note that if /etc/shutdown.allow is not present, the -a argument is ignored.

Jörg Friedrich
Es ist ja noch früh.
		-- Lucia Cosima Eiselstein um 14 Uhr

Reply to: