summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-09 19:14:28 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-09 19:14:28 +0200
commitdab9ff51238d07a9c41ec3bb431b1b4d1003a550 (patch)
treed0c089ed9c08632ac864621ded661d9d67a90848 /src/conf_mode
parent0b5a650845d047030f324a1ed7e97d7631133caa (diff)
downloadvyos-1x-dab9ff51238d07a9c41ec3bb431b1b4d1003a550.tar.gz
vyos-1x-dab9ff51238d07a9c41ec3bb431b1b4d1003a550.zip
login: T2492: remove empty plaintext-password node
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/system-login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/system-login.py b/src/conf_mode/system-login.py
index 2aca199f9..2c0bbd4f7 100755
--- a/src/conf_mode/system-login.py
+++ b/src/conf_mode/system-login.py
@@ -233,8 +233,8 @@ def generate(login):
env = os.environ.copy()
env['vyos_libexec_dir'] = '/usr/libexec/vyos'
- call("/opt/vyatta/sbin/my_set system login user '{name}' "
- "authentication plaintext-password '{password_plaintext}'"
+ call("/opt/vyatta/sbin/my_delete system login user '{name}' "
+ "authentication plaintext-password"
.format(**user), env=env)
call("/opt/vyatta/sbin/my_set system login user '{name}' "