Changeset 22761
- Timestamp:
- 02/18/08 03:17:51 (2 years ago)
- Location:
- trunk/debathena/config/pam-config/debian
- Files:
-
- 4 modified
-
access.conf.append (modified) (2 diffs)
-
control (modified) (1 diff)
-
control.in (modified) (1 diff)
-
rules (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/debathena/config/pam-config/debian/access.conf.append
r22731 r22761 1 1 2 2 #DEBATHENA BEGIN 3 3 4 #DEBATHENA EXAMPLES 4 5 ## Only root and tabbott can log in. … … 8 9 ## Only root and users in group gsipb can log in. 9 10 #-:ALL EXCEPT root gsipb:ALL 10 # Note that you can use Moira NFS groups here 11 # See http://debathena.mit.edu/access-controls for details11 # Note that you can use Moira NFS groups here. 12 # See <http://debathena.mit.edu/access-controls> for details. 12 13 13 # DEFAULT only allow remote access for users who have local accounts14 # DEFAULT: Only allow remote access for users who have local accounts 14 15 # on the machine (i.e. are in /etc/passwd). Allow all other users to 15 16 # login only locally. 16 17 17 +:nss-local-users:ALL18 -:ALL:ALL EXCEPT LOCAL 18 -:ALL EXCEPT root admin nss-local-users:ALL EXCEPT LOCAL 19 19 20 #DEBATHENA END -
trunk/debathena/config/pam-config/debian/control
r22718 r22761 3 3 Priority: extra 4 4 Maintainer: Debian-Athena Project <debathena@mit.edu> 5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), debathena-config-build-common (>= 3.5~), debathena-config-build-common, libpam-runtime, gdm, debathena-ssh-server 5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), debathena-config-build-common (>= 3.5~), debathena-config-build-common, libpam-runtime, gdm, debathena-ssh-server, lsb-release 6 6 Standards-Version: 3.7.2 7 7 -
trunk/debathena/config/pam-config/debian/control.in
r22718 r22761 3 3 Priority: extra 4 4 Maintainer: Debian-Athena Project <debathena@mit.edu> 5 Build-Depends: @cdbs@, libpam-runtime, gdm, debathena-ssh-server 5 Build-Depends: @cdbs@, libpam-runtime, gdm, debathena-ssh-server, lsb-release 6 6 Standards-Version: 3.7.2 7 7 -
trunk/debathena/config/pam-config/debian/rules
r22731 r22761 34 34 35 35 debian/ssh.debathena: $(call debathena_check_conffiles,/etc/pam.d/ssh) 36 perl -0pe '(s/^\#[\t ]+(account[ \t]+required[ \t]+pam_access.so)/$$1/m or s/^(?=\@include[ \t]+common-account)/account required pam_access.so\n/m) and s/^(\@include[ \t]+common-session)/$$1\nsession \toptional\tpam_mktemp.so var=XAUTHORITY prefix=\/var\/run\/athena-sessions\/xauth/m or die' $< > $@36 perl -0pe '(s/^\#[\t ]+(account[ \t]+required[ \t]+pam_access.so)/$$1/m or s/^(?=\@include[ \t]+common-account)/account required pam_access.so\n/m) and s/^(\@include[ \t]+common-session)/$$1\nsession optional pam_mktemp.so var=XAUTHORITY prefix=\/var\/run\/athena-sessions\/xauth/m or die' $< > $@ 37 37 38 38 debian/login.debathena: $(call debathena_check_conffiles,/etc/pam.d/login) 39 39 perl -0pe 's/^\#[\t ]+(account[ \t]+required[ \t]+pam_access.so)/$$1/m or die' $< > $@ 40 40 41 LSB_ID = $(shell lsb_release --short --id) 41 42 debian/access.conf.debathena: $(call debathena_check_conffiles,/etc/security/access.conf) 43 ifeq ($(LSB_ID), Debian) 44 (cat $<; sed 's/root admin /root /' debian/access.conf.append) > $@ 45 else 46 ifeq ($(LSB_ID), Ubuntu) 42 47 cat $< debian/access.conf.append > $@ 48 else 49 $(error Unrecognized distribution ID $(LSB_ID).) 50 endif 51 endif 43 52 44 53 clean::
