script to change user's group?

Chris Cook ccook at tcworks.net
Thu Nov 20 04:48:43 PST 2003


Sascha Klauder wrote:
> 
> 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.
> 

OK, that was an incredibly stupid question.

Ha!  Thanks.


-- 
Chris

o----< ccook at tcworks.net >------------------------------------o
|Chris Cook - Admin     |TCWORKS.NET - http://www.tcworks.net |
|The Computer Works ISP |FreeBSD - http://www.freebsd.org     |
o-------------------------------------------------------------o


More information about the freebsd-isp mailing list