vi /etc/profile
if [ a${user}a = "aroota" ]
thenif [ a${SHELL}a = "a/bin/ksha" ]thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fifi====================
cd /etc/security/
vim limits.conf* soft nproc 2047* hard nproc 16384* soft nofile 32767* hard nofile 65536