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

Re: apagar sin ser root



On Sun, Aug 04, 2002 at 04:50:56PM -0300, Seba wrote:
> On Sun, 04 Aug 2002 19:10:45 +0000
> "John Robert Gate" <johnnybgate@hotmail.com> wrote:
> 
> > 
> > 
> > Hola, buenas.
> > 
> > Me gustaría saber cómo puedo apagar o reiniciar Debian sin tener permisos de 
> > root.
> 
> Usa sudo y date permisos para halt y reboot.
> 
> > Uso gdm, he ejecutado gdmconfig, y he activado las opciones de "show the 
> > 'system' menu" y de "Allow users to run the configurator from the system 
> > menu", pero al dar al icono me pone q necesito ser superusuario.
> 
> No conozco el gdm, pero el kdm lo hace sin problemas.

Con GDM tampoco hay problemas, así está mis las máquinas.

Otra forma, que tengo en un  ordenador viejo sin pantalla, es a través
de un script PHP con una llamada system(). Esto está limitado a que no
puedes compilar el PHP con la opción --enable-safemode del configure y
además  tendrás que  dar  permiso al  usuario  www-data para  ejecutar
shutdown.

Saludos.
-- 

        --==--   --==--   Miguel Ángel Vilela   --==--   --==--       

  a.k.a  miguev  at  fmat.ull.es,  GULiC,  Barrapunto &  IRC-Hispano  
  GULiC - Grupo de Usuarios Linux de Canarias - http://www.gulic.org  
  Facultad de Matemáticas, Universidad La Laguna --- www.fmat.ull.es  
  Public GPG key at http://search.keyserver.net (search for: miguev)  
  Linux Reg. User #184518 - Debian GNU/Linux SID - kernel 2.4.18-xfs 
  Linux Reg. Machines:  #81674,  #81677,  #105478,  #118020, #118022 
  -- Linux Driver Petition #73209 --- No ePatents Petition #80354 --  
 
 Debajo de la mata florida, está la culebra escondida. 

Attachment: pgpY8Dvra2UX_.pgp
Description: PGP signature


Reply to: