Some small helper programs to enable askpass functionalities using menus like dmenu and bemenu.
TODO.
One should clone this repository or download and extract the repository archive,
then run sudo in any of the following methods:
- invoke
sudoas:SUDO_ASKPASS=/path/to/askpass-* sudo -A other-arguments - modify
/etc/sudo.confto contain the following line:Path askpass /path/to/askpass-*
All askpass-* programs have the same usage: a prompt is taken as its
first argument, and the entered password is output in standard output.
By design, all askpass-* programs should satisify the requirements
for SUDO_ASKPASS (see man:sudo(8) and man:sudo.conf(5)).
sudo, or other password-prompting programs that suits the usage description.- support for
askpassand-Awas first introduced in commitee0491416on 2008-03-02.
- support for
- any POSIX-compliant shell located at
/bin/shfor the shell scripts.
Currently none.
Currently the following menus are implemented (with a crossmark) or planned.