Hello,
Actually, what SeLLeRoNe mentioned already does happen.
If you have 10 users, and they all use the User Package "gold", then you'd need to only edit the "gold" pacakge, set it how you want, and DA will go through all Users on the system who use "gold" and update their user.conf values accordingly.
The catch is, if you've manually edited a User's settings, then he's no longer part of "gold".. and he becomes custom, so changing "gold" won't affect the User anymore.
Past that, I'd use a script, similar to what Peter mentioned. I tend to just write simple perl regex's to work right on the user.conf files.
eg: disable spam:
Code:
cd /usr/local/directadmin/data/users
perl -pi -e 's/spam=ON/spam=OFF/' *.user.conf
for example (of course, that's just a setting and hasn't actually "done" anything.. to really disable spam, you must delete the users user_prefs file. If you want to delete everyone's user_prefs file, type:
Code:
rm -f /home/*/.spamassassin/user_prefs
Each option in the user.conf may require some sort of action, which is why doing it through DA itself is usually better.. since DA does the action for you, as well as setting the user.conf file.
John