[arch-commits] Commit in util-linux/trunk (PKGBUILD pam-su)

Tom Gundersen tomegun at archlinux.org
Tue Sep 4 17:04:08 UTC 2012


    Date: Tuesday, September 4, 2012 @ 13:04:08
  Author: tomegun
Revision: 166139

upgpkg: util-linux 2.22-1

add su's pam file

Added:
  util-linux/trunk/pam-su
Modified:
  util-linux/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 pam-su   |    9 +++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-04 16:58:45 UTC (rev 166138)
+++ PKGBUILD	2012-09-04 17:04:08 UTC (rev 166139)
@@ -17,7 +17,8 @@
 options=('!libtool')
 source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.22/${pkgname}-${pkgver}.tar.xz
         pam-login
-        pam-common)
+        pam-common
+	pam-su)
 backup=(etc/pam.d/chfn etc/pam.d/chsh etc/pam.d/login)
 install=util-linux.install
 
@@ -60,7 +61,9 @@
   install -Dm644 "$srcdir/pam-common" "$pkgdir/etc/pam.d/chfn"
   install -m644 "$srcdir/pam-common" "$pkgdir/etc/pam.d/chsh"
   install -m644 "$srcdir/pam-login" "$pkgdir/etc/pam.d/login"
+  install -m644 "$srcdir/pam-su" "${pkgdir}/etc/pam.d/su"
 }
 md5sums=('ba2d8cc12a937231c80a04f7f7149303'
          '4368b3f98abd8a32662e094c54e7f9b1'
-         'a31374fef2cba0ca34dfc7078e2969e4')
+         'a31374fef2cba0ca34dfc7078e2969e4'
+         'fa85e5cce5d723275b14365ba71a8aad')

Added: pam-su
===================================================================
--- pam-su	                        (rev 0)
+++ pam-su	2012-09-04 17:04:08 UTC (rev 166139)
@@ -0,0 +1,9 @@
+#%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
+# Uncomment the following line to require a user to be in the "wheel" group.
+#auth		required	pam_wheel.so use_uid
+auth		required	pam_unix.so
+account		required	pam_unix.so
+session		required	pam_unix.so




More information about the arch-commits mailing list