Does anyone know how to do lots of users at once if your users exist in
and AD domain?
You can do it via WGM if the users have been dragged over into an OD
group from AD
I tried
edquota -p 'templateuser' *
Because that took the contents of your current working dir and passed
them to edquota.
The easiest thing is something like:
#!/bin/sh
for i in `dscl /Active\ Directory/yourdomain.com -list /Users`
do
edquota -p 'template' $i
done
If you exceed the search limits of your AD, though, you'll have to fall
back to using ldapsearch, and retrieving users alphabetically.
http://www.4am-media.com
Mac OS X Consulting and Training
Michael Bartosh
email@hidden
303.517.0272
Denver, CO
"The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently."