For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > uid hell

uid hell

Created by dave. Last edited by dave, 14 years and 206 days ago. Viewed 10,190 times. #2
[diff] [history] [edit] [rdf]


So we're moving from a scattered UID format to a NIS format. On the way to the party, we discovered a couple of machines have their own ideas what everyone's UIDs are, and they all differ from NIS.

This might help.

# find . -uid 1020 -exec ls -l {} ;

And once you get your uid and gid maps done (beware intermediate collisions: ie you can't change 500 to 600 if you have not already cleared 600!)… if you feel lucky:

# find . -uid 1020 -exec chown 255 {} ;
# find . -gid 2000 -exec chgrp 500 {} ;
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt