I have some old code that needs the stack to not be limited to 8192kb in order for it to run.
I am used to doing this in
* stack hard unlimited * stack soft unlimited
However in RHEL 7.9 having a local account with a bash shell when I do a
ulimit -s it still responds with
8192. So my modification of limits.conf seems to have no affect?
In my terminal window having a bash shell if I do a
ulimit -s unlimited first then run my code, my code runs fine.
What is the best way to set stack size to unlimited, globally for all users in RHEL 7.9 ?
Am I missing something, is
/etc/security/limits.conf not the same thing?