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

Re: /etc/shutdown.allow




jvicente@banelco.com.ar 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


Reply to: