opendoas.install 624 B

12345678910111213141516171819202122
  1. post_install() {
  2. cat <<EOF
  3. To allow members of the wheel group to run commands as other users,
  4. use the file /etc/doas.conf with the following content:
  5. permit :wheel
  6. Refer to doas(1) and doas.conf(5) for more information.
  7. An important notice from README.md:
  8. The persist feature is disabled by default [....] This feature
  9. is new and potentially dangerous, in the original doas, a
  10. kernel API is used to set and clear timeouts. This API is
  11. OpenBSD specific and no similar API is available on other
  12. operating systems.
  13. As a workaround, the persist feature is implemented using
  14. timestamp files similar to sudo.
  15. EOF
  16. }