On Tue, Jan 28, 2003 at 03:20:34AM -0800, Chris Wedgwood wrote:
> On Tue, Jan 28, 2003 at 11:57:47AM +0100, Jan Hudec wrote:
> 
> > So you can only setquota for the users that actualy log in
> 
> the API allows you to set quota for any valid uid/gid

Yes, it does. But since there is many more valid users than those
actualy using the system, you don't want to... And a logged in user is
sure valid, so no problem there, right?

> > Well, it get's complicated, but you still can setquota in the local
> > delivery process... I know it get's a bit complicated...
> 
> sure, this is a perfectly legitimate argument and a fairly reasonable
> solution to this case

If it finaly got too complicated, you could add a simple code to kernel,
that would run_usermodehelper and provide a user mode program to fix
things up. That might even get a chance of being accepted. (And it would
be more flexible since it can get the default quota from LDAP etc...)

However as long as it's manageable in userspace, do it in userspace...
All services that log in users can use PAM nowadays, so there it is
quite easy and all services that can run on behalf of users have some
hooks where the fixup command can be run too.

-------------------------------------------------------------------------------
                                                 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