You can check the man page on ulimit. What I normally do is edit the /etc/security/limits file and set value to -1 for all parameters. These changes will not take effect for the user until they log off and back onto the system.

dkm