On Tue, Jan 28, 2003 at 07:54:08AM +0100, Stefan (metze) Metzmacher wrote:
> At 16:22 27.01.2003 +0000, Stephen C. Tweedie wrote:
> >That's a user-space problem.  A new user typically won't have a writable
> >area within /home until the sysadmin has created the new home directory,
> >so it's really up to the sysadmin to make sure that the quota for the
> >home filesystem has been set at the same time.
> 
> What is if we have 500.000 users and 300.000 group in LDAP
> 
> and set up a new server, witch is intended to store data from ~1000 users 
> 500 group
> 
> should the admin really run setquota ... for each of the 500.000 users and 
> 300.000 group
> 
> that's are 800.000 quota entries in the filesystem and only 1500 are really 
> used
> 
> ans this entries cost disk space too, so if we have two default entries 
> (one for users and one for groups) then only every user witch really uses 
> this filesystem would get a quota entry when he starts to own diskspace on 
> this filesystem and we would have only 1502 quota entries stored on disk!

It still isn't a kernel problem, but a user-space one. You need to get
or write a PAM module, that will check wether quotas are set for user
being authenticated and if not, set them. You could even store the
qutoas in the LDAP (or some other) database and check them when a user
logs in...

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec <[EMAIL PROTECTED]>
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to