From 064e0b81f0ac0ca19a108d0e05c1756b9a220cc2 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 22 Jan 2024 21:04:24 +0100 Subject: op-mode: T5975: add missing 2FA OTP commands --- op-mode-definitions/show-system.xml.in | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-system.xml.in b/op-mode-definitions/show-system.xml.in index 85bfdcdba..027eec6de 100644 --- a/op-mode-definitions/show-system.xml.in +++ b/op-mode-definitions/show-system.xml.in @@ -102,6 +102,55 @@ Show user accounts + + + Show user account authentication information + + + + + Show configured user + + system login user + + + + + + Show OTP key information + + ${vyos_op_scripts_dir}/otp.py show_login --username="$6" --info="full" + + + + Show full settings, including QR code and commands for VyOS + + ${vyos_op_scripts_dir}/otp.py show_login --username="$6" --info="full" + + + + Show OTP authentication secret in Base32 (used in mobile apps) + + ${vyos_op_scripts_dir}/otp.py show_login --username="$6" --info="key-b32" + + + + Show OTP authentication QR code + + ${vyos_op_scripts_dir}/otp.py show_login --username="$6" --info="qrcode" + + + + Show OTP authentication otpauth URI + + ${vyos_op_scripts_dir}/otp.py show_login --username="$6" --info="uri" + + + + + + + Show user account information -- cgit v1.2.3