diff options
author | Eric Hameleers <alien@slackware.com> | 2020-03-31 13:16:24 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-03-31 13:16:24 +0200 |
commit | 9268765549148c00efe38a11bdc08c7f930a1233 (patch) | |
tree | 7c621e710d1d7456ef78fac044ffe0c6f05d140a /make_slackware_live.sh | |
parent | 6d01738bd50d369ae95f71406fb8d84c06caafca (diff) | |
download | liveslak-9268765549148c00efe38a11bdc08c7f930a1233.tar.gz liveslak-9268765549148c00efe38a11bdc08c7f930a1233.tar.xz |
For PAM based system, allow user in 'audio' group to invoke rt capability
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index ba3241c..ff2e96d 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -2142,6 +2142,15 @@ ulimit -r 65 eval exec "$4" EOT +# For PAM based system, allow user in 'audio' group to invoke rt capability: +mkdir -p ${LIVE_ROOTDIR}/etc/security/limits.d +cat <<EOT > ${LIVE_ROOTDIR}/etc/security/limits.d/rt_audio.conf +# Realtime capability allowed for user in the 'audio' group: +@audio - rtprio 65 +@audio - memlock unlimited +@audio - nice -19 +EOT + fi # End LIVEDE = PLASMA5/DAW/STUDIOWARE # You can define the function 'custom_config()' by uncommenting it in |