From e15cfcabccb0f242abe9e478344e927b6be0527d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 17 Aug 2010 14:12:26 -0700 Subject: 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 --- debian/vyatta-cfg-system.postinst.in | 3 --- 1 file changed, 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;; -- cgit v1.2.3