summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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