Added PAM support
This commit is contained in:
@@ -5,3 +5,4 @@ url: https://github.com/Duncaen/OpenDoas
|
||||
license: ISC-custom
|
||||
architecture: any
|
||||
type: source
|
||||
keep: etc/doas.conf
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
auth include system-auth
|
||||
account include system-account
|
||||
session required pam_env.so
|
||||
session include system-session
|
||||
@@ -26,6 +26,7 @@ package() {
|
||||
mkdir -p "$BPM_OUTPUT"/etc
|
||||
cp ../doas.conf "$BPM_OUTPUT"/etc/doas.conf
|
||||
chmod -c 0400 "$BPM_OUTPUT"/etc/doas.conf
|
||||
cp ../doas-pam "$BPM_OUTPUT"/etc/pam.d/doas
|
||||
mkdir -p "$BPM_OUTPUT"/usr/share/licenses/opendoas
|
||||
cp LICENSE "$BPM_OUTPUT"/usr/share/licenses/opendoas/LICENSE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user