summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-06-20 15:36:07 -0700
committerBob Gilligan <gilligan@vyatta.com>2008-06-20 15:36:07 -0700
commit584704b664f93f408e28db04d96e88c7a2d05ee7 (patch)
treec4aaaaa682a179ea2ba09d0757e2cd95f2aea37e /scripts/install-system
parent415359e58d906256c3260c9ea275303431fbef46 (diff)
downloadvyatta-cfg-system-584704b664f93f408e28db04d96e88c7a2d05ee7.tar.gz
vyatta-cfg-system-584704b664f93f408e28db04d96e88c7a2d05ee7.zip
Bugfix: 3259
Add code to patch up the /etc/pam.d/login config file so that login prompts for password for non-existant users.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 1259af3b..3871c77b 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -992,6 +992,10 @@ setup_xen_partition_images
# Install grub
install_grub
+# Fix up PAM configuration for login so that invalid users are prompted
+# for password
+sed -i 's/requisite[ \t][ \t]*pam_securetty.so/required pam_securetty.so/' $rootfsdir/etc/pam.d/login
+
cp $INSTALL_LOG $rootfsdir/install.log
umount $rootfsdir