From 0c51111829dcd7660fc5405ae6ac651a8b6987b8 Mon Sep 17 00:00:00 2001 From: goodNETnick Date: Tue, 18 Oct 2022 02:55:01 -0400 Subject: login: T4754: show configured 2FA OTP key --- 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 4a0e6c3b2..af4bce6b5 100644 --- a/op-mode-definitions/show-system.xml.in +++ b/op-mode-definitions/show-system.xml.in @@ -66,6 +66,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