El lun, 15-09-2003 a las 21:06, Thomas Morin escribió: > Hi, Hi [...] > Here is the principle I propose : > - at logout, gnome-session proposes the reboot and halt options to the user > - if halt [or reboot] is chosen, a $HOME/.gdm-halt file [or .gdm-reboot] > file is created > - in the gdm PostSession script (which is run by gdm as root), the > existence of those files is tested > - if one of them exists and if the configuration allows, shutdown > (or reboot) of the workstation is triggered It's not a bad idea but it has some security issues. What happens if an application executes "touch $HOME/.gdm-reboot"? the user does not want reboot the machine but a virus/trojan could do it without problems [...] Cheers. -- Carlos Perelló Marín Debian GNU/Linux Sid (PowerPC) Linux Registered User #121232 mailto:carlos@pemas.net || mailto:carlos@gnome.org http://carlos.pemas.net Valencia - Spain
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente