Skip to content

A portable fork of the OpenBSD `doas` command

License

Notifications You must be signed in to change notification settings

unsafe-andrew-old/OpenDoas-cmpr

 
 

Repository files navigation

OpenDoas-cmpr: a portable version of OpenBSD's doas command with the ability to set password prompt through the environment variables

All the information and documentation about OpenDoas itself can be found in the original repo or in the Arch Wiki

This fork adds the ability to set password prompt and error message using the DOAS_PROMPT and DOAS_AUTH_FAIL_MSG environment variables You can set background and foreground colors using ANSI escape codes. You can generate them using this amazing website

If you want to display username and/or hostname, just add %u and/or %h to your DOAS_PROMPT

Example of usage:

About

A portable fork of the OpenBSD `doas` command

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.3%
  • Roff 6.7%
  • Yacc 6.2%
  • Makefile 0.8%