Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
faq [2013/03/12 10:09] – hashimo | faq [2013/03/12 10:39] – libexecdir is determined by distribution. hashimo |
---|
| |
== Using sudo == | == Using sudo == |
You have to allow the user(s) to execute ''$installdir/libexec/xfsm-shutdown-helper'' with sudo. Install sudo and run ''visudo'' (root) and add the following line (replace prefix with the correct path): | You have to allow the user(s) to execute ''<prefix>/libexec/xfsm-shutdown-helper'' with sudo. ''<prefix>/libexec/'' may be changed on your distribution, i.e. ''/usr/lib/xfce4/session/''. Install sudo and run ''visudo'' (root) and add the following line (replace prefix with the correct path): |
| |
%users ALL = NOPASSWD:<prefix>/libexec/xfsm-shutdown-helper | %users ALL = NOPASSWD:<prefix>/libexec/xfsm-shutdown-helper |
| |
gpasswd -a <username> users | gpasswd -a <username> users |
| |
Attention: For xfce 4.10, xfsm-shutdown-helper is in ''/usr/lib/xfce4/session/xfsm-shutdown-helper''. Thus you should follow this: run "visudo" and add following line: | |
| |
%power ALL = (root) NOPASSWD: /usr/lib/xfce4/session/xfsm-shutdown-helper | |
| |
Add the user to the ''power'' group: | Add the user to the ''power'' group: |