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, 9 years and 213 days ago. Viewed 5,267 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

KILL ME

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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt