From: Heiko Z. <smi...@us...> - 2012-05-05 14:32:51
|
Update of /cvsroot/devil-linux/build/scripts In directory vz-cvs-3.sog:/tmp/cvs-serv9619/scripts Modified Files: pwauth Log Message: enabled pam config for pwauth and added sample file Index: pwauth =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/pwauth,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pwauth 29 Apr 2012 13:44:32 -0000 1.1 +++ pwauth 5 May 2012 14:32:24 -0000 1.2 @@ -19,7 +19,10 @@ case $1 in build ) if [ "$CONFIG_HTTPD" = "y" ]; then - make || exit 1 + replace_str config.h '^#define SHADOW_SUN' '/* #define SHADOW_SUN' + #replace_str config.h '^/\* #define SHADOW_NONE' '#define SHADOW_NONE' + replace_str config.h '^/\* #define PAM\s' '#define PAM ' + make LIB="-lcrypt -lpam" || exit 1 fi ;; @@ -27,6 +30,7 @@ if [ "$CONFIG_HTTPD" = "y" ]; then cp -v pwauth $CDDIR/usr/sbin || exit 1 cp -v unixgroup $CDDIR/usr/sbin || exit 1 + cp $MYDIR/scripts/pwauth.pam $ETCDIR/etc/pam.d/pwauth || exit 1 fi ;; |