[csw-maintainers] Creation of users and groups added to cswclassutils

Peter Bonivart bonivart at opencsw.org
Mon Feb 9 21:24:25 CET 2009


I have added scripts to consistently add users and groups in your
packages. Many packages that only use pre/post scripts for that reason
can be simplified and the users will not get the annoying prompt about
running scripts during install/remove.

You provide a simple text file as input to the scripts, it looks
basically like the passwd file.

user:group:gcos:dir:shell

It can also remove the same users/groups but since this can be a bad
thing it's not default, the user can opt in by adding remove_ug=yes in
csw.conf.

I have started to write a little about it on the wiki:
http://wiki.opencsw.org/cswclassutils-package. Please check out the
section about "ug" and tell me what you think. Do you need more
features and how to balance features/simplicity?

Tomorrow I will update cswclassutils with these scripts and put it in
testing so you can try it with your packages.

-- 
/peter



More information about the maintainers mailing list