Name

systemd-ask-password — Query the user for a system password

Synopsis

systemd-ask-password [OPTIONS...] [MESSAGE]

Options

The following options are understood:

--h, --help

Prints a short help text and exits.

--icon=

Specify an icon name alongside the password query, which may be used in all agents supporting graphical display. The icon name should follow the XDG Icon Naming Specification.

--timeout=

Specify the query timeout in seconds. Defaults to 90s.

--no-tty

Never ask for password on current TTY even if one is available. Always use agent system.

--accept-cached

If passed accept cached passwords, i.e. passwords previously typed in.

--multiple

When used in conjunction with --accept-cached accept multiple passwords. This will output one password per line.