Replace User's GID
Revision as of 18:16, 17 November 2009 by 74.221.178.2 (talk) (New page: *Check for Use of the new GID<br/>If used then replace this one first with its target. *Update /etc/group and /etc/passwd **groupmod -g {newgid} {groupname} **usermod -g {groupname} {user}...)
- Check for Use of the new GID
If used then replace this one first with its target. - Update /etc/group and /etc/passwd
- groupmod -g {newgid} {groupname}
- usermod -g {groupname} {user}
- Check for Use of the old GID and fix
- find / -gid {oldgid} -exec chgrp -h groupname {} \;