From 66e5a1196d7ff4b7dadd8526650a275f2387a86d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 7 Dec 2009 11:33:39 -0800 Subject: don't block passwd with pam Breaks setup of account during install. Useradd calls passwd. --- debian/vyatta-cfg-system.postinst.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 679475f1..25edb438 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -167,12 +167,6 @@ sed -i -e ':^DSHELL:s:/bin/bash:/bin/vbash:' /etc/adduser.conf # Do not allow users to change full name field (controlled by Vyatta config) sed -i -e 's/^CHFN_RESTRICT/#&/' /etc/login.defs -# Do not allow users to change password (controlled from Vyatta config) -sed -i -e '/^@include common-password/c \ -password required pam_echo.so Password blocked by Vyatta CLI\ -password requiste pam_deny.so -' /etc/pam.d/passwd - # Block pc speaker driver to keep system quiet [ grep "blacklist.*snd-pcsp" >&/dev/null ] || echo "blacklist snd-pcsp" >>/etc/modprobe.d/blacklist -- cgit v1.2.3