Date: Wed, 18 Mar 2009 12:16:16 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Joe Chimento <takhoos@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: renaming user account? Message-ID: <20090318161616.GA62837@gizmo.acns.msu.edu> In-Reply-To: <b2d67c7a0903180827nc474bcemb03ab70ec7f5dbae@mail.gmail.com> References: <b2d67c7a0903180827nc474bcemb03ab70ec7f5dbae@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090318161616.GA62837>