diff --git a/files/sudoers b/files/sudoers --- a/files/sudoers +++ b/files/sudoers @@ -27,6 +27,7 @@ ## Groups of commands. Often used to group related commands together. # Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ # /usr/bin/pkill, /usr/bin/top +# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff ## ## Defaults specification @@ -38,7 +39,7 @@ # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" ## ## Run X applications through sudo; HOME is used to find the -## .Xauthority file. Note that other programs use HOME to find +## .Xauthority file. Note that other programs use HOME to find ## configuration files and this may lead to privilege escalation! # Defaults env_keep += "HOME" ## @@ -55,6 +56,12 @@ ## this may allow users to subvert the command being run via sudo. # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" ## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## ## Uncomment to enable logging of a command's output, except for ## sudoreplay and reboot. Use sudoreplay to play back logged sessions. # Defaults log_output @@ -62,7 +69,7 @@ # Defaults!/usr/local/bin/sudoreplay !log_output # Defaults!/sbin/reboot !log_output -# SolusOS doesn't support "local" directories, so you need to uncomment this line +# Solus doesn't support "local" directories, so you need to uncomment this line # and comment out the other secure_path declaration if you want sudo to find these # executables # Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : sudo -version : 1.8.20_p2 -release : 14 +version : 1.8.21_p2 +release : 15 source : - - https://www.sudo.ws/dist/sudo-1.8.20p2.tar.gz : bd42ae1059e935f795c69ea97b3de09fe9410a58a74b5d5e6836eb5067a445d9 + - https://www.sudo.ws/dist/sudo-1.8.21p2.tar.gz : 74c5746cd33a814e2431c39faf0d76f7f8a697379bd073862e3b156cf0d76368 homepage : http://www.sudo.ws/ license : ISC summary : Run commands as a privileged user diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -46,19 +46,19 @@ programming.devel - sudo + sudo /usr/include/ - - 2017-05-31 - 1.8.20_p2 + + 2017-09-07 + 1.8.21_p2 Packaging update Pierre-Yves pyu@riseup.net \ No newline at end of file