diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-02 19:18:05 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-02 19:18:05 +0200 |
commit | 2e57bf9a4220a1c99cdb87136fad1b83d14cc454 (patch) | |
tree | 936ceb033be8fdcbb82f97a34bec3bad661db2d8 /debian/vyatta-cfg-system.postinst.in | |
parent | 73f0546e5f5c8d9bd367771ae0012797114ca340 (diff) | |
parent | 21031c67393d26a814298a8755d4bea43b0834de (diff) | |
download | vyatta-cfg-system-2e57bf9a4220a1c99cdb87136fad1b83d14cc454.tar.gz vyatta-cfg-system-2e57bf9a4220a1c99cdb87136fad1b83d14cc454.zip |
Fix overlapping edits of standalone_pw_reset
Put in new code to set password, rather than reset it to default
Although resetting passwd to default sounds good from a usuablity point
of view, it is a potential security hole when system is rebooted. Instead,
allow user to choose new passwd.
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 2cb0643c..925edcb5 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -87,6 +87,11 @@ fi sed -i 's/^set /builtin set /' /etc/bash_completion +# 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 + + # Local Variables: # mode: shell-script # sh-indentation: 4 |