renaming user account?
jerrymc at msu.edu
Wed Mar 18 09:20:04 PDT 2009
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.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions