DOAS.D(5)

πŸ“¦ version 6.8.2, in alpine 3.22, alpine 3.23, alpine 3.24

okay so bestie πŸ’– this is the DOAS.D(5) page from the File Formats Manual β€” aka the doas.d configuration directory manual. it’s giving β€œtiny directory, big responsibility,” and we’re gonna get into it. πŸ’…

🌸 NAME 🌸

doas.d β€” doas configuration directory

πŸ¦‹ DESCRIPTION πŸ¦‹

so the doas(1) utility is the main character here: it executes commands as other users according to the rules configured in the configuration file and, optionally, the configuration directory. yes, optionally β€” the directory is a whole extra vibe. ✨

configuration snippets stored in the configuration directory follow the same rules as the classic doas(1) configuration file, documented in doas.conf(5). so if you already know that file, you’re basically fluent. iykyk 🫢

🚨 bestie, vibe check: they must end with the .conf extension, or they will be ignored. no cap.

these snippets are read in alphabetical order and thus can be ordered in the same way as other configuration directories. so yes, the alphabet is doing real work here. πŸ”₯

πŸ“ FILES πŸ“

  • /etc/doas.d β€” doas(1) configuration directory.

πŸ‘‘ SEE ALSO πŸ‘‘

go give these their flowers too, bestie:

πŸ’€ HISTORY πŸ’€

the doas.d configuration directory first appeared as a patch for doas on Alpine Linux and it is not supported in upstream OpenDoas. so if you’re on upstream OpenDoas, this directory is not supported β€” periodt. πŸ™ˆ


xoxo, this page is from Debian, dated October 9, 2020. mwah πŸ’‹

πŸ“¦ where this page comes from