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

Re: Configurando KM para apagar el sistema.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Hola,
> Tras instalar KDE en mi equipo si intento apagar el sistema mediante 
> el menu de KDM de /Salir/Apagar el Sistema no es posible,o sea el 
> sistema no se apaga.
> Luego de leer documentacion de KDM vi la necesidad de cambiar ciertas 
> configuraciones del KDM del archivo /etc/kde4/kdm/kdmrc mas 
> precisamente las lineas relativas al apagado del sistema y  reinicio 
> del sistema.
> Las lineas son las siguientes:
> 
> [Shutdown]
> # The command (subject to word splitting) to run to halt the system.
> # Default is "/sbin/halt"
> HaltCmd="/sbin/shutdown -h now"
> # The command (subject to word splitting) to run to reboot the 
> system.
> # Default is "/sbin/reboot"
> RebootCmd="/sbin/shutdown -r now"
> 
> Como pueden ver solo agrague las lineas "/sbin/shutdown -h now y 
> "/sbin/shutdown -r now" pero sigo sin poder apagar el sistema desde 
> KDE.¿Alguien ha implementado esta posibilidad?.
> Gracias.
Buenas

	Ya te digo que no se si sera por eso, pero suena a temas de permisos.
Asi es como tengo el mio:

jmramirez@jmramirez:~$ ls -larth /sbin/shutdown
- -rwxr-xr-x 1 root root 18K ene  1 06:35 /sbin/shutdown

	Digo yo que hara uso de sudowers o algo parecido, Mi luser (jmramirez)
esta metido en /etc/sudoers.

Un saludo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNOW7qAAoJEOWNzQnqy+fz1WAH/iH2dZWg8fCO6aL1FYxlOFBv
eD/lcAnrgRYw0m5/DT1iJIsJ9M8rOPOq+PbWWcLNti8f7HTr2gJSkIX6R+9n1yj9
BQ0Ydv8QFWJ4Wfod/i1gJH7/sgYXxaS1PMABERignc5mY8KVOo1+j0k0zLQ/p3YP
B5fgiA7H1uLJG8OTIzisuWoRLmVOentdwtkYA6MWQcjfxKSGS42CY7zU2AjX+PdU
3Dy5v2rbb6JpUy6TtP1bK+9siqMq1RFVQOYi+gxxAlQCfIIA3FLXuffuF3U6OpA4
Mm0KFfzOKzsTA0jFM2GlILjibFUnzzQtZ5fqZAiTRgqfvX5K8Wvm1SrxUEdWeiA=
=v/yv
-----END PGP SIGNATURE-----


Reply to: