diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-06-20 15:36:07 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-06-20 15:36:07 -0700 |
commit | 584704b664f93f408e28db04d96e88c7a2d05ee7 (patch) | |
tree | c4aaaaa682a179ea2ba09d0757e2cd95f2aea37e /scripts/install-system | |
parent | 415359e58d906256c3260c9ea275303431fbef46 (diff) | |
download | vyatta-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-x | scripts/install-system | 4 |
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 |