Hi,
the best way would be to set this in
This way is an easy and transparent way to set limits for each user.
However if you'd like to change the default limits that apply for everyone not listed in /etc/security/limits separately, I'd say just edit the default stanza in /etc/security/limits. I'm sure there is a command for it, but I can't find it at the moment.