Automatic class change

Hello!

I have 5 servers running FreeBSD (6.0 - 7.0) and on each server I have about 800 user accounts. I created a new class in /etc/login.conf and now I want to change the class for each user. Do you have any ideea on how may I do this automaticaly? It is a little bit too much for me to use chsh for each user :wink:

I found:

pw usermod USER -L class

I completely forgot about pw :smiley: