Added fix for CentOS installs

Added fix for CentOS (and related distros) where doas is prevented from using PAM to authenticate.
This commit is contained in:
Jesse Smith 2020-06-07 14:39:46 -03:00 committed by GitHub
parent 11a7ea1824
commit 47f7dc7b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,11 @@ This builds the source code. Then, as the root user, run
Note: By default macOS blocks doas from using PAM modules, causing doas authentication to fail. The cp command above copies the sudo PAM configuration into place for doas to use.
Note to Linux users: Some Linux distributions, such as CentOS, will block doas from using PAM authentication by default. If this happens, it is usually possible to work around the issue by running the following command as the administrator:
cp /etc/pam.d/sudo /etc/pam.d/doas
#### illumos
PREFIX=/opt/local gmake install