mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 10:39:41 +00:00
Merge branch 'arch' into gentoo
This commit is contained in:
commit
af05da44a5
|
@ -66,9 +66,12 @@
|
||||||
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
|
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
|
||||||
Defaults log_output
|
Defaults log_output
|
||||||
Defaults!/usr/bin/sudoreplay !log_output
|
Defaults!/usr/bin/sudoreplay !log_output
|
||||||
# Defaults!/usr/local/bin/sudoreplay !log_output
|
Defaults!/usr/local/bin/sudoreplay !log_output
|
||||||
Defaults!REBOOT !log_output
|
Defaults!REBOOT !log_output
|
||||||
|
|
||||||
|
# Add some fine insults
|
||||||
|
Defaults insults
|
||||||
|
|
||||||
##
|
##
|
||||||
## Runas alias specification
|
## Runas alias specification
|
||||||
##
|
##
|
||||||
|
|
4
root/etc/sudoers.d/poweroff
Normal file
4
root/etc/sudoers.d/poweroff
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
ALL ALL=(ALL) NOPASSWD: /sbin/poweroff
|
||||||
|
ALL ALL=(ALL) NOPASSWD: /sbin/shutdown
|
||||||
|
ALL ALL=(ALL) NOPASSWD: /sbin/reboot
|
||||||
|
|
Loading…
Reference in a new issue