diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-08 15:03:16 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-08 15:03:16 -0800 |
commit | 884da6dfbf0199982f53ff74ed3af6d497254577 (patch) | |
tree | 020c8ac3a315826c0b14132bb85d9a7803078e6e /debian | |
parent | 1bc0fdfe092c6a3e2efff1dc644cde138fa0ab98 (diff) | |
parent | 2d345fab89209bef76823d8b2ee6f7f0cc1db84f (diff) | |
download | vyatta-cfg-system-884da6dfbf0199982f53ff74ed3af6d497254577.tar.gz vyatta-cfg-system-884da6dfbf0199982f53ff74ed3af6d497254577.zip |
Merge branch 'kenwood' of 192.168.100.1:git/vyatta-cfg-system into kenwood
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 25edb438..0ccf25a2 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -25,6 +25,9 @@ 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;; |