mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
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 <kbdharunkrishna@gmail.com> * Update pages/linux/systemd-ask-password.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
1e9aa6f52e
commit
6b37ad2f56
1 changed files with 28 additions and 0 deletions
28
pages/linux/systemd-ask-password.md
Normal file
28
pages/linux/systemd-ask-password.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# systemd-ask-password
|
||||
|
||||
> Query the user for a system password.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemd-ask-password.html>.
|
||||
|
||||
- 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}}"`
|
Loading…
Add table
Reference in a new issue