Monday, April 28, 2008

AIX set ulimit for user

How to change ulimit/limit for certain user under AIX

1) edit /etc/security/limits like example below. No need to restart anything


Set "ulimit" to "unlimited" for interfac@AMSDC1U043 Unix Account: interfac / mireports


vi /etc/security/limits

interfac:
fsize = -1
fsize_hard = -1
cpu_hard = -1
data_hard = -1
stack_hard = -1
rss_hard = -1
nofiles_hard = -1

mireport:
fsize = -1
fsize_hard = -1
cpu_hard = -1
data_hard = -1
stack_hard = -1
rss_hard = -1
nofiles_hard = -1