--- Linux-PAM-0.77/modules/pam_limits/limits.skel~ 2002-05-09 05:03:57.000000000 -0700 +++ Linux-PAM-0.77/modules/pam_limits/limits.skel 2005-05-09 15:12:42.000000000 -0700 @@ -31,6 +31,10 @@ # - priority - the priority to run user process with # - locks - max number of file locks the user can hold # +# realtime priority access: +# - rt_priority - max realtime priority a process can use +# - nice - max nice priority a process can be set to +# # # @@ -42,4 +46,19 @@ #ftp hard nproc 0 #@student - maxlogins 4 +# limit realtime and memory locking access to users in the group audio +# there is no way to say "allow locking all memory", 4G should be enough +# +#* - rt_priority 0 +#* - nice 0 +# +#@audio - rt_priority 100 +#@audio - nice -10 +#@audio - memlock 4000000 + +# or (default) allow everyone access +* - rt_priority 100 +* - nice -10 +* - memlock 4000000 + # End of file