Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change GID of a user.

Status
Not open for further replies.

cibee

Programmer
Dec 15, 2004
38
US
How do I chage the GID of a user?

TIA,
CB
 
I figured it out.

Change UID/GID in /etc/passwd:
and /etc/group

and run:

find / -user UID -print | xargs -t chown newowner

find / -user GID -print | xargs -t chgrp newgroup

Works for rh/fc2.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top