[EMAIL PROTECTED] wrote:
> 
> >De man shutdown:
> >
> >  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 people that are logged in in a virtual
> >console  (from /var/run/utmp). Only if one of those authorized  users
> >or root  is  logged  in,  it  will proceed.
> 
> Si mi ingl�s no me falla, ac� dice que solamente si uno de los usuarios
> esta loggeado, ejecuta el shutdown, pero no dice nada sobre *quien* ejecuta
> el shutdown

Correcto, pero tiene que ser en la consola (una de las consolas
virtuales). Si no se deja a un usuario con autorizaci�n conectado en
ella, no se permite hacer shutdown. Se supone que si se tiene una sesi�n
abierta es porque el usuario est� delante de la pantalla.

Saludos

Responder a