wok rev 23678

updated sudo and sudo-pam (1.8.28 -> 1.8.31)
author Hans-G?nter Theisgen
date Sun Apr 26 10:56:37 2020 +0100 (2020-04-26)
parents e3a4df239f4e
children ce15cfce8e9f
files sudo-pam/receipt sudo/receipt
line diff
     1.1 --- a/sudo-pam/receipt	Sun Apr 26 10:52:21 2020 +0100
     1.2 +++ b/sudo-pam/receipt	Sun Apr 26 10:56:37 2020 +0100
     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  
     2.1 --- a/sudo/receipt	Sun Apr 26 10:52:21 2020 +0100
     2.2 +++ b/sudo/receipt	Sun Apr 26 10:56:37 2020 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="sudo"
     2.7 -VERSION="1.8.28"
     2.8 +VERSION="1.8.31"
     2.9  CATEGORY="security"
    2.10  SHORT_DESC="Allows command execution as root for specified users."
    2.11  MAINTAINER="erjo@slitaz.org"
    2.12 @@ -56,7 +56,7 @@
    2.13  		mv "$1/etc/sudoers"	"$1/etc/sudoers-dist"
    2.14  		mv "$1/etc/sudoers.bak"	"$1/etc/sudoers"
    2.15  	  else
    2.16 -		chown root.root "$1/etc/sudoers"
    2.17 -		chmod 0440 "$1/etc/sudoers"
    2.18 +		chown root.root	"$1/etc/sudoers"
    2.19 +		chmod 0440	"$1/etc/sudoers"
    2.20  	fi
    2.21  }