CmdID

CmdID / Commands

systemd-ask-password

Query the user for a system password. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Query a system password with a specific prompt

systemd-ask-password "prompt"Identify

Specify an identifier for the password query

systemd-ask-password --id identifier "prompt"Identify

Use a kernel keyring key name as a cache for the password

systemd-ask-password --keyname key_name "prompt"Identify

Set a custom timeout for the password query

systemd-ask-password --timeout seconds "prompt"Identify

Force the use of an agent system and never ask on current TTY

systemd-ask-password --no-tty "prompt"Identify

Store a password in the kernel keyring without displaying it

systemd-ask-password --no-output --keyname key_name "prompt"Identify

Pipe a password to a command, stripping the trailing newline

systemd-ask-password -n | commandIdentify

Display help

systemd-ask-password --helpIdentify