! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Manual incorrect: sudo shutdown doesn't work as in example
Status:
CLOSED: INVALID
Product:
Xfce4-session
Component:
General

Comments

Description Nick Sutterer 2005-02-25 13:53:20 CET
in the xfce4-session manual you make an example how to configure sudo so that
other users can shutdown/reboot the system. you quote this example:

myuser myhost=/usr/local/libexec/xfsm-shutdown-helper

however, this won't work, because sudo wants to have the users password, but
xfce-session can't handle this (can it?)... instead, the sudoers entry should be:

myuser myhost= NOPASSWD: /usr/local/libexec/xfsm-shutdown-helper

no big thing, but took me a few (annoying ;-) minutes...

Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Benedikt Meurer editbugs 2005-02-25 15:40:41 CET
xfce4-session can ask the user for a password. If it doesn't work for you, then
thats a bug in xfce4-session. Anyways, the manual is right here.

Bug #810

Reported by:
Nick Sutterer
Reported on: 2005-02-25
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information