On Thu, Sep 22, 2005 at 08:13:53AM +0200, Mathieu Roy wrote: > Wednesday 21 September, vers 19h, Sylvain Beucler écrivit : > > > > Instead, do a perl script using the backend to extract the list of > > > members of the www group and do the appropriate useradd. So you > > > wont have to maintain a patch, only a script. We have at gna a set > > > of scripts that use the backend but would not make sense to be > > > published with Savane that fits this kind of purpose. > > > > As I said, that custom useradd will trigger ~100 userdel per project > > on the next sv_groups/users cron job. > > But why does it have to do that each time, and not only when a new > group gets created?
My custom script would add the webmasters to each GNU project's system group. The next backend run will compare the group in the DB and in the system; the webmasters are not part of each GNU project in the DB, and will be erased from the system group. Then my custom script would come and re-add them. Then the DB would remove them again. etc. :) _______________________________________________ Savane-dev mailing list Savane-dev@gna.org https://mail.gna.org/listinfo/savane-dev