Operating System - HP-UX
1832460 Members
3082 Online
110043 Solutions
New Discussion

Re: setup quota limit for user

 
SOLVED
Go to solution
peterchu
Super Advisor

setup quota limit for user

I want to setup the user size limit "edquota" , I want to let a specific user has 10M hard limit , 15 soft limit and 7 days grace period , I know "edquota -t" can set the grace period but it seems for whole system not for a specific user only , could suggest how can I set it ? thx.
4 REPLIES 4
Asif Sharif
Honored Contributor

Re: setup quota limit for user

Peterchu,
see this link.

http://www.faqs.org/docs/securing/chap20sec158.html

Regards,

Asif
Regards,
Asif Sharif
Ranjith_5
Honored Contributor
Solution

Re: setup quota limit for user


Hi Peter,

I see this..Your thread on the same topic and just posted a reply.I am very if it helps you.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=774491

Regards,
Syam
peterchu
Super Advisor

Re: setup quota limit for user

thx replies ,

I tried to use "edquota -t" to have the below result, the system seems have 7 days grace period in default , how now I found that the user can only reach the hard quota limit , can't reach the soft quota limit , could suggest what is wrong ? why the user edpuser can't reach soft quota limit ? and is it possible to separate the grace period setting , eg . 7 days for general user , 14 days for mid-level user , 21 days for management user ? thx
-----------------------------------------
edquota -t
Grace period before enforcing soft limits for users:
Time units may be: days, hours, minutes, or seconds
Filesystem Block grace period Inode grace period
/dev/sda3 7days 7days

----------------------------------------

edquota edpuser
Disk quotas for user edpuser (uid 731):
Filesystem blocks soft hard inodes soft
hard
/dev/sda3 1000 50000 1000 9 0
0
~