mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Update sudo config
This commit is contained in:
parent
672e52d4b1
commit
0acd5ecc77
|
@ -66,9 +66,12 @@
|
|||
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
|
||||
Defaults 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
|
||||
|
||||
# Add some fine insults
|
||||
Defaults insults
|
||||
|
||||
##
|
||||
## 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