Create user with Restricted Space usage

Hi,

What is the command or how to create a user with the restricted usage of space on a disk.

Also let me know how to change the limit of the space size allotted in future for the same user.

~Vinodh Kumar V M

man quota
man quotaon
man edquota

and if you are using ZFS:

zfs set userquota@username=size pool/filesystem

One thing to be aware of if you start using quotas is that in a system that uses a lot of NFS shared file systems, using the "quota" utility to check file system quotas can take a real long time, and if any NFS server is down running "quota" can effectively hang.

And the default configuration of Solaris (and IIRC most Linux distros) is to automatically run "quota" upon a user's logging into a system.