From owner-freebsd-questions@FreeBSD.ORG Wed Mar 18 16:20:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2517106566C for ; Wed, 18 Mar 2009 16:20:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id AA5548FC1A for ; Wed, 18 Mar 2009 16:20:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n2IGGHWs062857; Wed, 18 Mar 2009 12:16:17 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n2IGGGgk062856; Wed, 18 Mar 2009 12:16:16 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 18 Mar 2009 12:16:16 -0400 From: Jerry McAllister To: Joe Chimento Message-ID: <20090318161616.GA62837@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: renaming user account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 16:20:04 -0000 On Wed, Mar 18, 2009 at 11:27:39AM -0400, Joe Chimento wrote: > Is there an easy way to rename a user account belonging to 'www' group? > You could just use vipw(8) and edit the id name in the password entry. Or, do you mean you want to change the group the user belongs to? If it is the user's primary group, then also use vipw to edit the entry. If it is a secondary group for that user, then edit the line in the /etc/group file and remove that user from it. Put it in another group then if you want. You might also have to change group ownership on files if you change the GID as well. ////jerry > -- > Joe > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"