Added PAM support
This commit is contained in:
1 parent
2e1fe51b0b
commit
9ebe1b8fcd
3 files changed
+6
No files matched your search
@@ -5,3 +5,4 @@ url: https://github.com/Duncaen/OpenDoas
|
|||||||
license: ISC-custom
|
license: ISC-custom
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
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
|
mkdir -p "$BPM_OUTPUT"/etc
|
||||||
cp ../doas.conf "$BPM_OUTPUT"/etc/doas.conf
|
cp ../doas.conf "$BPM_OUTPUT"/etc/doas.conf
|
||||||
chmod -c 0400 "$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
|
mkdir -p "$BPM_OUTPUT"/usr/share/licenses/opendoas
|
||||||
cp LICENSE "$BPM_OUTPUT"/usr/share/licenses/opendoas/LICENSE
|
cp LICENSE "$BPM_OUTPUT"/usr/share/licenses/opendoas/LICENSE
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user