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-unsubscr...@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to