diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-08-17 14:12:26 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-08-17 14:12:26 -0700 |
commit | e15cfcabccb0f242abe9e478344e927b6be0527d (patch) | |
tree | a099aa79617c6e5b653210bf07f871960c7ffc80 /debian/vyatta-cfg-system.postinst.in | |
parent | 2a66ed9e1c8e2924176ad51bd38e562ff5238d6d (diff) | |
download | vyatta-cfg-system-e15cfcabccb0f242abe9e478344e927b6be0527d.tar.gz vyatta-cfg-system-e15cfcabccb0f242abe9e478344e927b6be0527d.zip |
Don't delete existing root password
For upgrade, don't touch root password.
For new installation, root password is reset during build-iso
Bug 6066
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 1058f718..3e8ef1e0 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -25,9 +25,6 @@ if ! grep -q '^tss' /etc/passwd; then adduser --system --group --shell /usr/sbin/nologin --home /var/lib/tpm tss fi -# Make sure root account can not be used for login by turning off password -usermod -p ! root - case `grep '^RULES_FILE=' /lib/udev/write_net_rules` in *z25_persistent-net.rules* ) vyatta_net_rules=z24_vyatta-net.rules;; |