I would make different groups in this case,
each with different ulimit settings, then
I check the GID's in the /etc/profile script
and I adjust the ulimit accordingly...
Just an idea, or maybe if it is for a few
users, just adjust the ulimit with an UID check
|