polemicz Posted December 17, 2004 Report Share Posted December 17, 2004 For those of us who use multiple distros I'm interested in how you set up your uid's. I use Mandrake and Debian. Debian has a default use id of 1000 and Mandrake 500. I have often reset the Debian uids to match Mandrake's. What do you others do? Quote Link to comment Share on other sites More sharing options...
aru Posted December 17, 2004 Report Share Posted December 17, 2004 (edited) IMHO you do the right thing, I don't know any better solution apart of using a NIS system. A bizarre way, --don't do it, I'm just bored-- could be: #! /bin/bash USERNAME=foo DEBUID=1000 MDKUID=500 case $(cat /etc/release) in Mandrake*) OLDUID=$DEBUID;; Debian*) OLDUID=$MDKUID;; # you'll need to create a debian /etc/release esac find / -uid $OLDUID -exec chown $USERNAME {} \; run it on every boot for every different user. As another way, you may sync both /etc/passwd files (dangerous, insane and ...silly)... as I said, I'm bored :P seriously what you do is what it has to be done :) Edited December 17, 2004 by aru Quote Link to comment Share on other sites More sharing options...
Gowator Posted December 17, 2004 Report Share Posted December 17, 2004 I just use the reverse....1000:1000 though I have reason... its more logical to split real users (those that can login via kdm for instance) from a nice round no. like 1000 and nothing else is going to create a pseudo user (like mysql etc) with 1000 but they might use 500. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.