[fedora] UIDs and GIDs

Scot L. Harris webid at cfl.rr.com
Mon Nov 22 22:06:04 UTC 2004


On Mon, 2004-11-22 at 16:50, Øyvind Lode wrote:
> hi
> 
> if i manually edit UIDs and GIDs in /etc/passwd, /etc/group will that cause
> any problems?
> for instance if i have a user with UID and GID of 515/515 and then change it
> to 510/510.

If you do that you will need to run a script that searches out UIDs and
GIDs across the system and change them to the new numbers.  

When editing /etc/passwd you should use vipw.  Use vigr to edit the
group file.  


-- 
Scot L. Harris
webid at cfl.rr.com

UFOs are for real: the Air Force doesn't exist. 




More information about the fedora-list mailing list