You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
836 B

Cmnd_Alias POWER_CMD = /bedrock/cross/pin/bin/halt, /bedrock/cross/pin/bin/reboot, /bedrock/cross/pin/bin/poweroff, /usr/sbin/zzz, /usr/sbin/ZZZ
Cmnd_Alias XBPS_CMD = /usr/sbin/xbps-install, /usr/sbin/xbps-remove, /usr/sbin/xbps-reconfigure
Cmnd_Alias PACMAN_CMD = /bedrock/cross/bin/pacman
Cmnd_Alias EXCEPT_CMD = /usr/sbin/radeontop
Defaults env_keep += "HOME"
Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
# Defaults env_keep += "QTDIR KDEDIR"
# Defaults env_keep += "XDG_SESSION_COOKIE"
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
Defaults timestamp_timeout = -1
root ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
%wheel ALL=(ALL) NOPASSWD: POWER_CMD
%wheel ALL=(ALL) NOPASSWD: EXCEPT_CMD
#includedir /etc/sudoers.d