Bug#379192: [Pkg-xfce-devel] Bug#379192: user is unable to shutdown or restart from xfce4 quit menu (after default etch installation)
On Fri, 2006-07-21 at 18:28 -0400, zero79 wrote:
> Package: xfce4
> Version: 126.96.36.199-2
> Severity: normal
> directly after a default etch install (using the beta etch debian-installer),
> the user is not permitted to restart or shutdown the system from the xfce4
> quit menu.
> it should be possible for the user (for which the first user account was set up) to be able to shutdown his/her system directly from the xfce4 menu.
The restart/shutdown rights aren't managed by Xfce but via sudo. It uses
xfsm-shutdown-helper which needs root rights to shutdown or reboot the
machine. You only need to add your user rights to execute this command
as root using sudo.
Maybe it's debian-installer role to add the first user in sudoers. Or we
could manage it via some install scripts via debconf, but I'm not really
sure I want xfce4-session to depend on sudo.