Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 06:51:58 -0600
From:      Chris Cook <ccook@tcworks.net>
To:        Sascha Klauder <sklauder@trimind.de>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: script to change user's group?
Message-ID:  <3FBCB8EE.DF5EFE2A@tcworks.net>
References:  <3FBCB5EF.3AD2E1EF@tcworks.net> <20031120124512.GA7492@trimind.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tcworks.net >------------------------------------o
|Chris Cook - Admin     |TCWORKS.NET - http://www.tcworks.net |
|The Computer Works ISP |FreeBSD - http://www.freebsd.org     |
o-------------------------------------------------------------o



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FBCB8EE.DF5EFE2A>