summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-07 11:33:39 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-07 11:33:39 -0800
commit66e5a1196d7ff4b7dadd8526650a275f2387a86d (patch)
tree96dde128bb2ba32da84f2baa94cebf3373faf8a2 /debian
parentb614be8960a38c4a31c85f2ece5777fa01df86f3 (diff)
downloadvyatta-cfg-system-66e5a1196d7ff4b7dadd8526650a275f2387a86d.tar.gz
vyatta-cfg-system-66e5a1196d7ff4b7dadd8526650a275f2387a86d.zip
don't block passwd with pam
Breaks setup of account during install. Useradd calls passwd.
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in6
1 files changed, 0 insertions, 6 deletions
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