From fa4fe95f48567b25ff141af254f154443f79a1b7 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 17 Mar 2025 01:39:48 +0200 Subject: [PATCH] systemd-ask-password: refresh page (#15953) --- pages/linux/systemd-ask-password.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pages/linux/systemd-ask-password.md b/pages/linux/systemd-ask-password.md index b8f57c3528..4e674c4f3e 100644 --- a/pages/linux/systemd-ask-password.md +++ b/pages/linux/systemd-ask-password.md @@ -3,26 +3,30 @@ > Query the user for a system password. > More information: . -- Query a system password with a specific message: +- Query a system password with a specific prompt: -`systemd-ask-password "{{message}}"` +`systemd-ask-password "{{prompt}}"` - Specify an identifier for the password query: -`systemd-ask-password --id={{identifier}} "{{message}}"` +`systemd-ask-password --id {{identifier}} "{{prompt}}"` - Use a kernel keyring key name as a cache for the password: -`systemd-ask-password --keyname={{key_name}} "{{message}}"` +`systemd-ask-password --keyname {{key_name}} "{{prompt}}"` - Set a custom timeout for the password query: -`systemd-ask-password --timeout={{seconds}} "{{message}}"` +`systemd-ask-password --timeout {{seconds}} "{{prompt}}"` - Force the use of an agent system and never ask on current TTY: -`systemd-ask-password --no-tty "{{message}}"` +`systemd-ask-password --no-tty "{{prompt}}"` - Store a password in the kernel keyring without displaying it: -`systemd-ask-password --no-output --keyname={{key_name}} "{{message}}"` +`systemd-ask-password --no-output --keyname {{key_name}} "{{prompt}}"` + +- Pass the asked password to another program: + +`systemd-ask-password | {{command}}`