Hi Darren, I just tried run reboot as console user and it failed. It seems reboot does not support RBAC. In this case I have to extend ConsoleKit too and wait for the its integration (after b128). Do you have any other suggestion?
Regards, Jedy On Tue, 2009-09-01 at 11:26 +0100, Darren J Moffat wrote: > Jedy Wang wrote: > > 2) Darren suggested the "Skip boot menu on start" option should only > > affect the next reboot only but not system wide. > > > > This can be done. I can update my code to make gnome-session invoke > > "reboot -f" or "reboot -p" based on what users' choice and do not change > > config/fastreboot_default property. > > I don't see how that can work. gnome-session is not running with any > privilege and with the uid/gid of the logged in user and'reboot' is not > setuid. >