[Pkg-shadow-commits] r542 - trunk/debian

Nicolas FRANCOIS nekral-guest at costa.debian.org
Wed Sep 28 13:34:54 UTC 2005


Author: nekral-guest
Date: 2005-09-28 13:34:54 +0000 (Wed, 28 Sep 2005)
New Revision: 542

Added:
   trunk/debian/login.su.pam
Removed:
   trunk/debian/passwd.su.pam
Modified:
   trunk/debian/rules
Log:
Move debian/passwd.su.pam to debian/login.su.pam, and distribute
/etc/pam.d/su in login.
Thanks to Junichi Uekawa.


Copied: trunk/debian/login.su.pam (from rev 541, trunk/debian/passwd.su.pam)

Deleted: trunk/debian/passwd.su.pam
===================================================================
--- trunk/debian/passwd.su.pam	2005-09-27 04:17:16 UTC (rev 541)
+++ trunk/debian/passwd.su.pam	2005-09-28 13:34:54 UTC (rev 542)
@@ -1,45 +0,0 @@
-#
-# The PAM configuration file for the Shadow `su' service
-#
-
-# Uncomment this to force users to be a member of group root
-# before they can use `su'. You can also add "group=foo" to
-# to the end of this line if you want to use a group other
-# than the default "root".
-# (Replaces the `SU_WHEEL_ONLY' option from login.defs)
-# auth       required   pam_wheel.so
-
-# Uncomment this if you want wheel members to be able to
-# su without a password.
-# auth       sufficient pam_wheel.so trust
-
-# Uncomment this if you want members of a specific group to not
-# be allowed to use su at all.
-# auth       required   pam_wheel.so deny group=nosu
-
-# This allows root to su without passwords (normal operation)
-auth       sufficient pam_rootok.so
-
-# Uncomment and edit /etc/security/time.conf if you need to set
-# time restrainst on su usage.
-# (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
-# as well as /etc/porttime)
-# account    requisite  pam_time.so
-
-# This module parses /etc/environment (the standard for setting
-# environ vars) and also allows you to use an extended config
-# file /etc/security/pam_env.conf.
-# (Replaces the `ENVIRON_FILE' setting from login.defs)
-auth       required   pam_env.so
-
-# The standard Unix authentication modules, used with
-# NIS (man nsswitch) as well as normal /etc/passwd and
-# /etc/shadow entries.
- at include common-auth
- at include common-account
- at include common-session
-
-# Sets up user limits, please uncomment and read /etc/security/limits.conf
-# to enable this functionality.
-# (Replaces the use of /etc/limits in old login)
-# session    required   pam_limits.so

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2005-09-27 04:17:16 UTC (rev 541)
+++ trunk/debian/rules	2005-09-28 13:34:54 UTC (rev 542)
@@ -115,6 +115,7 @@
 	dh_installpam -p passwd --name=groupmod
 	dh_installpam -p passwd --name=newusers
 	dh_installpam -p login
+	dh_installpam -p login  --name=su
 	install -c -m 444 debian/login.defs debian/login/etc/login.defs
 	install -c -m 444 debian/securetty.$(DEB_HOST_ARCH_OS) debian/login/etc/securetty
 	install -d debian/passwd/usr/share/passwd




More information about the Pkg-shadow-commits mailing list