# HG changeset patch # User Pascal Bellard # Date 1234606177 0 # Node ID 194e6709d5f3455677d17e5103d6021af10fbd79 # Parent 8f9353288f5bcfe77f3a6e1a835ccb5786bcde43 dropbear-pam: add /etc/pam.d/ diff -r 8f9353288f5b -r 194e6709d5f3 dropbear-pam/receipt --- a/dropbear-pam/receipt Sat Feb 14 10:04:16 2009 +0000 +++ b/dropbear-pam/receipt Sat Feb 14 10:09:37 2009 +0000 @@ -21,7 +21,10 @@ local DROPBEARS DROPBEARS="dropbearkey dropbearconvert dbclient scp" cd $src - sed -i 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' options.h + rm -rf _pkg + sed -i -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \ + -e 's|ENABLE_SVR_PASSWORD_AUTH|ENABLE_SVR_PAM_AUTH|' \ + options.h ./configure --prefix=/usr --enable-pam $CONFIGURE_ARGS && make PROGRAMS="dropbear $DROPBEARS" MULTI=1 && install -d -m 755 $PWD/_pkg/usr/sbin && @@ -46,6 +49,7 @@ mkdir -p $fs/etc cp -a stuff/dropbear $fs/etc cp -a stuff/init.d $fs/etc + cp -a stuff/pam.d $fs/etc touch $fs/etc/dropbear/dropbear_dss_host_key \ $fs/etc/dropbear/dropbear_rsa_host_key diff -r 8f9353288f5b -r 194e6709d5f3 dropbear-pam/stuff/pam.d/sshd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dropbear-pam/stuff/pam.d/sshd Sat Feb 14 10:09:37 2009 +0000 @@ -0,0 +1,7 @@ +#%PAM-1.0 +# specify the PAM fallback behaviour + +auth required pam_unix.so +account required pam_unix.so +password required pam_unix.so md5 +session required pam_unix.so