-
-
Latest Posts
Archives
Tags for this category
Recently Played Games
Tag Archives: nopasswd
Sudo NOPASSWD not working
Here is a quick reminder for sudo and non-working NOPASSWD statements.
When multiple entries match for a user, they are applied in order. Where there are multiple matches, the last match is used (which is not necessarily the most specific match).
This means that more specific entries like this should be put towards the end of the file:
username ALL = NOPASSWD: /usr/bin/dbus-send
username ALL = NOPASSWD: /usr/sbin/pm-suspend
username ALL = NOPASSWD: /usr/sbin/pm-hibernate
username ALL = NOPASSWD: /usr/sbin/pm-suspend
username ALL = NOPASSWD: /usr/sbin/pm-hibernate
Posted in Linux
Tagged 2013, dbus-send, linux, nopasswd, pm-hibernate, pm-suspend, sudo, visudo
Leave a comment