wok diff sudo-pam/receipt @ rev 23876
Up dropbear (2020.80)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 01 14:12:33 2020 +0000 (2020-07-01) |
parents | 624fa0648f2e |
children | 059bb2e67481 |
line diff
1.1 --- a/sudo-pam/receipt Tue Oct 15 10:14:15 2019 +0200 1.2 +++ b/sudo-pam/receipt Wed Jul 01 14:12:33 2020 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="sudo-pam" 1.7 -VERSION="1.8.28" 1.8 +VERSION="1.8.31" 1.9 CATEGORY="security" 1.10 SHORT_DESC="Allows command execution as root for specified users using PAM." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 @@ -46,7 +46,7 @@ 1.13 { 1.14 if [ -f "$1/etc/sudoers" ] 1.15 then 1.16 - cp "$1/etc/sudoers" "$1/etc/sudoers.bak" 1.17 + cp "$1/etc/sudoers" "$1/etc/sudoers.bak" 1.18 fi 1.19 } 1.20 1.21 @@ -54,11 +54,11 @@ 1.22 { 1.23 if [ -f "$1/etc/sudoers.bak" ] 1.24 then 1.25 - rm -f "$1/etc/sudoers" 1.26 - mv "$1/etc/sudoers.bak" "$1/etc/sudoers" 1.27 + rm -f "$1/etc/sudoers" 1.28 + mv "$1/etc/sudoers.bak" "$1/etc/sudoers" 1.29 else 1.30 - chown root.root "$1/etc/sudoers" 1.31 - chmod 0440 "$1/etc/sudoers" 1.32 + chown root.root "$1/etc/sudoers" 1.33 + chmod 0440 "$1/etc/sudoers" 1.34 fi 1.35 } 1.36