From c65aafbb3371db9047ad688493400a0b881c3949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 9 Jan 2017 13:51:06 -0500 Subject: [PATCH] man: add more links to systemd-ask-password and systemd-tty-ask-password-agent Loosely inspired by https://bugzilla.redhat.com/show_bug.cgi?id=1411134. --- man/systemd-ask-password.xml | 43 +++++++++++++++++--------- man/systemd-tty-ask-password-agent.xml | 10 ++++-- 2 files changed, 35 insertions(+), 18 deletions(-) diff --git a/man/systemd-ask-password.xml b/man/systemd-ask-password.xml index 2b6fb5a82f..8d3355819b 100644 --- a/man/systemd-ask-password.xml +++ b/man/systemd-ask-password.xml @@ -61,10 +61,9 @@ a system password or passphrase from the user, using a question message specified on the command line. When run from a TTY it will query a password on the TTY and print it to standard output. When - run with no TTY or with it will query - the password system-wide and allow active users to respond via - several agents. The latter is only available to privileged - processes. + run with no TTY or with it will use the + system-wide query mechanism, which allows active users to respond via + several agents, listed below. The purpose of this tool is to query system-wide passwords — that is passwords not attached to a specific user account. @@ -76,25 +75,38 @@ A boot-time password agent asking the user for - passwords using Plymouth + passwords using + plymouth8, + A boot-time password agent querying the user - directly on the console + directly on the console — + systemd-ask-password-console.service8, + An agent requesting password input via a - wall1 - message - - A command line agent which can be started - temporarily to process queued password - requests + wall1 + message — + systemd-ask-password-wall.service8, + A TTY agent that is temporarily spawned during systemctl1 - invocations + invocations, + + A command line agent which can be started + temporarily to process queued password + requests — systemd-tty-ask-password-agent --query. + + Answering system-wide password queries is a privileged operation, hence + all the agents listed above (except for the last one), run as privileged + system services. The last one also needs elevated privileges, so + should be run through + sudo8 + or similar. + Additional password agents may be implemented according to the systemd @@ -217,7 +229,8 @@ See Also systemd1, - systemctl1, + systemd-ask-password-console.service8, + systemd-tty-ask-password1, keyctl1, plymouth8, wall1 diff --git a/man/systemd-tty-ask-password-agent.xml b/man/systemd-tty-ask-password-agent.xml index 2876fab644..2e4b31be07 100644 --- a/man/systemd-tty-ask-password-agent.xml +++ b/man/systemd-tty-ask-password-agent.xml @@ -50,7 +50,9 @@ - systemd-tty-ask-password-agent OPTIONS VARIABLE=VALUE + systemd-tty-ask-password-agent + OPTIONS + VARIABLE=VALUE @@ -65,8 +67,10 @@ systemd-tty-ask-password-agent implements the Password - Agents Specification. - + Agents Specification, and is one of many possible response agents which + answer to queries formulated with + systemd-ask-password1. +