From ff3ecc1b4d4ede0fb4ca15484a9655c628f4354f Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Tue, 5 Dec 2023 16:30:17 -0600 Subject: git: T5803: Adjust git configuration for baseline defaults Apply baseline defaults for `.gitattributes` and `.vscode/settings.json` for improved developer experience. The `.gitattrbutes` settings are based on: Git documentation (https://git-scm.com/docs/gitattributes#_effects) GitHub documentation (https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings) Community templates (https://github.com/gitattributes/gitattributes) Since editor-agnostic line-ending specific settings are applied to `.gitattributes`, they can be removed from `.vscode/settings.json`. The global VSCode defaults have also been removed to avoid duplication. (cherry picked from commit c30002208d392177cb1ffc1a5c714f7ad6d573b6) --- .../generate-system-login-user.xml.in | 180 ++++++++++----------- 1 file changed, 90 insertions(+), 90 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/generate-system-login-user.xml.in b/op-mode-definitions/generate-system-login-user.xml.in index 868bbcd46..bd80840df 100755 --- a/op-mode-definitions/generate-system-login-user.xml.in +++ b/op-mode-definitions/generate-system-login-user.xml.in @@ -1,90 +1,90 @@ - - - - - - - Generate system related parameters - - - - - Generate system login related parameters - - - - - Username used for authentication - - system login user - - - - - - Generate OpenConnect OTP token - - - - - HOTP time-based token - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" - - - - Duration of single time interval - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "$9" - - - - The number of digits in the one-time password - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "$9" --rate-time "${11}" - - - - The number of digits in the one-time password - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "$9" --rate-time "${11}" --window-size "${13}" - - - - - - - - The number of digits in the one-time password - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --window-size "${9}" - - - - Duration of single time interval - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "${11}" --window-size "${9}" - - - - Duration of single time interval - - sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "${11}" --rate-time "${13}" --window-size "${9}" - - - - - - - - - - - - - - - - - - + + + + + + + Generate system related parameters + + + + + Generate system login related parameters + + + + + Username used for authentication + + system login user + + + + + + Generate OpenConnect OTP token + + + + + HOTP time-based token + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" + + + + Duration of single time interval + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "$9" + + + + The number of digits in the one-time password + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "$9" --rate-time "${11}" + + + + The number of digits in the one-time password + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "$9" --rate-time "${11}" --window-size "${13}" + + + + + + + + The number of digits in the one-time password + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --window-size "${9}" + + + + Duration of single time interval + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "${11}" --window-size "${9}" + + + + Duration of single time interval + + sudo ${vyos_op_scripts_dir}/generate_system_login_user.py --username "$5" --rate-limit "${11}" --rate-time "${13}" --window-size "${9}" + + + + + + + + + + + + + + + + + + -- cgit v1.2.3