[Lunar-commits] <moonbase> shadow: small tweaks.

Florin Braescu florin at lunar-linux.org
Sun Jul 1 14:00:46 CEST 2012


commit ecb498e93b4bf440e0af3b95dc1357b501fce05a
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Jul 1 14:00:46 2012 +0200

    shadow: small tweaks.
---
 security/shadow/adduser    |    1 -
 security/shadow/pam.d/chfn |    2 +-
 security/shadow/pam.d/chsh |    4 ++--
 security/shadow/pam.d/su   |    6 +++---
 4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/security/shadow/adduser b/security/shadow/adduser
index ee22558..4c2515f 100755
--- a/security/shadow/adduser
+++ b/security/shadow/adduser
@@ -11,7 +11,6 @@ if  ! [  "$UID"  ==  0  ];  then
   exit
 fi
 
-
 echo
 echo -n "Login name for new user [$1]: "
 read LOGIN
diff --git a/security/shadow/pam.d/chfn b/security/shadow/pam.d/chfn
index 0e74d3f..79902f0 100644
--- a/security/shadow/pam.d/chfn
+++ b/security/shadow/pam.d/chfn
@@ -1,5 +1,5 @@
 #%PAM-1.0
 auth		sufficient	pam_rootok.so
-auth        include     system-auth
+auth		include		system-auth
 account		required	pam_permit.so
 password	include		system-auth
diff --git a/security/shadow/pam.d/chsh b/security/shadow/pam.d/chsh
index a246f4a..a339551 100644
--- a/security/shadow/pam.d/chsh
+++ b/security/shadow/pam.d/chsh
@@ -1,6 +1,6 @@
 #%PAM-1.0
 auth		sufficient	pam_rootok.so
-auth        required    pam_shells.so
-auth        include     system-auth
+auth		required	pam_shells.so
+auth		include		system-auth
 account		required	pam_permit.so
 password	include		system-auth
diff --git a/security/shadow/pam.d/su b/security/shadow/pam.d/su
index 6d7a3ec..b2286d3 100644
--- a/security/shadow/pam.d/su
+++ b/security/shadow/pam.d/su
@@ -1,11 +1,11 @@
 #%PAM-1.0
 auth		sufficient	pam_rootok.so
 # Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth           sufficient      pam_wheel.so trust use_uid
+#auth		sufficient	pam_wheel.so trust use_uid
 # Uncomment the following line to require a user to be in the "wheel" group.
-#auth           required        pam_wheel.so use_uid
+#auth		required	pam_wheel.so use_uid
 auth		include		system-auth
-account		sufficient  pam_succeed_if.so uid = 0 use_uid quiet
+account		sufficient	pam_succeed_if.so uid = 0 use_uid quiet
 account		include		system-auth
 password	include		system-auth
 session		include		system-auth


More information about the Lunar-commits mailing list