I'm trying to set unlimited memory lock for a regular user. (slackware64 14)
I already added
ulimit -Hl unlimited
ulimit -l unlimited
At this point, when logged in as root, 'ulimit -l' returns unlimited.
When logged in as user however, it returns again 64...
Also, if i use set_rlimits.conf, is it possible to somehow set 'memlock=unlimited' in the file?
set_rlimits gives me a 'corruct file' error if i just replace the Kb number with unlimited.