A hard limit is the maximum i.e. fsize=2097151. A soft limit can be any size upto the maximum hard limit which the user him/herself can change. The hard limit can only be increased by root.
In practice you set soft limits on users to give them a starting point i.e. to not let them create files which are too big. But you also set a hard limit, then if the user requires they can increase their own soft limits up to the hard limit you set when you created the user.
Cheers
PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
When you create the user in smit you have the option to set both hard and soft limits. If you leave this blank the user is restricted by the default stanza in /etc/security/limits. If you set limits up for the user then in the /etc/security/limits file a stanza is added for that particular user.
Cheers
PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
There is also disk quota which is different, but similar...
The disk quota system, based on the Berkeley Disk Quota System, provides an
effective way to control the use of disk space. The quota system can be
defined for individual users or groups, and is maintained for each
journaled file system.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.