Kevin Dahl-Skog escribió:
Hola lista.

Alguien sabe como deshabilitar las opciones para apagar o reinicar los
equipos en fedora 10 ?

El problema es que al iniciar un manegador de sesiones (GDM, KDM) los
entornos (GNOME, KDE) tiene autorizacion para apagar la maquina.
Como puedo quitarle la autorizacion a los demonios gdm o kdm para que no
puedan apagar la maquina?

Saludos

en /etc/gdm.conf, en la seccion [daemon], sale esto:
# System command support.
#
# Reboot, Halt and suspend commands, you can add different commands separated
# by a semicolon.  GDM will use the first one it can find.
RebootCommand=/sbin/shutdown -r now "Rebooted via gdm."
HaltCommand=/sbin/shutdown -h now "Shut Down via gdm."
SuspendCommand=/usr/sbin/pm-suspend
HibernateCommand=/usr/sbin/pm-hibernate

# The following options specify how GDM system commands are supported.
#
# Specify which actions are displayed in the greeter. Valid values are HALT,
# REBOOT, HIBERNATE, SUSPEND, and CUSTOM_CMD separated by semicolons.
SystemCommandsInMenu=HALT;REBOOT;HIBERNATE;SUSPEND;CUSTOM_CMD

# Specify which actions are supported by QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION # and SET_SAFE_LOGOUT_ACTION. Valid values are HALT, REBOOT, HIBERNATE, SUSPEND, and
# CUSTOM_CMD separated by semicolons.
AllowLogoutActions=HALT;REBOOT;HIBERNATE;SUSPEND;CUSTOM_CMD

ovbiamente dejas AllowLogoutActions vacio, en el archivo /etc/gdm/gd.conf-custom

en kdm.conf debe haber algo parecido, comentado, no me acuerdo muy bien, pero es como lo mismo

Responder a