From 6b37ad2f56a45f56b866abaa10ad9b4ebfbc6585 Mon Sep 17 00:00:00 2001 From: leenate <97252521+leenate@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:41:48 -0600 Subject: [PATCH] systemd-ask-password: add page (#10824) * systemd-ask-password: add page * systemd-ask-password Remove whitespace. * Update pages/linux/systemd-ask-password.md Co-authored-by: K.B.Dharun Krishna * Update pages/linux/systemd-ask-password.md Co-authored-by: K.B.Dharun Krishna --------- Co-authored-by: K.B.Dharun Krishna --- pages/linux/systemd-ask-password.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/systemd-ask-password.md diff --git a/pages/linux/systemd-ask-password.md b/pages/linux/systemd-ask-password.md new file mode 100644 index 000000000..b8f57c352 --- /dev/null +++ b/pages/linux/systemd-ask-password.md @@ -0,0 +1,28 @@ +# systemd-ask-password + +> Query the user for a system password. +> More information: . + +- Query a system password with a specific message: + +`systemd-ask-password "{{message}}"` + +- Specify an identifier for the password query: + +`systemd-ask-password --id={{identifier}} "{{message}}"` + +- Use a kernel keyring key name as a cache for the password: + +`systemd-ask-password --keyname={{key_name}} "{{message}}"` + +- Set a custom timeout for the password query: + +`systemd-ask-password --timeout={{seconds}} "{{message}}"` + +- Force the use of an agent system and never ask on current TTY: + +`systemd-ask-password --no-tty "{{message}}"` + +- Store a password in the kernel keyring without displaying it: + +`systemd-ask-password --no-output --keyname={{key_name}} "{{message}}"`