script to change user's group?

Sascha Klauder sklauder at trimind.de
Thu Nov 20 04:45:18 PST 2003


On Thu, Nov 20, 2003 at 06:39:11AM -0600, Chris Cook wrote:
> Is there a command line way to change the group that a user belongs to? 
> We would like to automatically change a user's group when they become
> past due on their account.  The only way I know how to do this is
> chpass.  If I knew of a command line way I could write a script.

Check out the pw(8) command.

Cheers,
-sascha


More information about the freebsd-isp mailing list