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

next in thread | previous in thread | raw e-mail | index | archive | help
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



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