Hi David, > Never mind. The strategy of using "-ldu" on mkpasswd along with "-ld" > on mkgroup is useful. We have 8 zillion users, but a much smaller > number of groups. The "mkgroup -ld" completed in just a few minutes.
In a corporate environment (with domains), I run this: mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group I haven't worked out a nice way to update /etc/passwd to reflect a different home dir, so I make sure to set HOME environment variable and the run this: cat /etc/passwd | sed "s|:/home/$USERNAME:|:$HOME:|" > /etc/passwd This gave me such a big headache recently, I wrote about it here: http://bit.ly/t7qRK Rob :) General Blog: http://robertmarkbram.blogspot.com/ Technical Blog: http://robertmarkbramprogrammer.blogspot.com/ Profile: http://www.google.com/profiles/robertmarkbram -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple