diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-09 19:14:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-09 19:14:28 +0200 |
commit | dab9ff51238d07a9c41ec3bb431b1b4d1003a550 (patch) | |
tree | d0c089ed9c08632ac864621ded661d9d67a90848 /src/conf_mode/system-login.py | |
parent | 0b5a650845d047030f324a1ed7e97d7631133caa (diff) | |
download | vyos-1x-dab9ff51238d07a9c41ec3bb431b1b4d1003a550.tar.gz vyos-1x-dab9ff51238d07a9c41ec3bb431b1b4d1003a550.zip |
login: T2492: remove empty plaintext-password node
Diffstat (limited to 'src/conf_mode/system-login.py')
-rwxr-xr-x | src/conf_mode/system-login.py | 4 |
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}' " |