Re: changing servers' UID/GIDs
I'M NOT MEMER OF YOUR MAILING LISTS. MY MAIL IS : PONIK@POBOX.SK
(PONIK@PROVER.SK IS ONLY FORWARD FROM PONIK@POBOX.SK).
WHY THIS MAILS COME TO ME?
EVERY DAY COME TO ME 200 MAILS FROM YOUR MAILING LISTS.
CAN YOU DO SOMETHING WITH IT?
----- Original Message -----
From: "Mathias Gygax" <email@example.com>
Sent: Tuesday, June 04, 2002 1:59 PM
Subject: Re: changing servers' UID/GIDs
> On Mon, Jun 03, 2002 at 11:43:02PM +0300, Imre Oolberg wrote:
> > I try to keep two machines running Debian v 3.0 the same, essentially
> > mirrors of one another. But stupid me, i probably messed up the order
> > installed Heartbeat, Postfix and MySQL with different sequence on each
> > computer. Now i have same system users postfix, haclient and mysql with
> > different UID/GIDs. I think it would be good to have systems the same
> > down to its users' UID/GIDs.
> daemons which depend on hard-coded nummerical UIDs are the apt-get not
> worth of it.
> > I believe i could quite easily just find files belonging to specific
> > user/group and change them appropriately. But are there some hidden
> > i could run into doing so? What about Debian package management, for
> > example?
> locate the nummeric UID (e.g. 100).
> find -uid 100 <further options, like permissions and type of inode)
> > I'd be very grateful for any opinions on that matter. Sorry if this
> > question is already answered somewhare and you can kindly point me to
> > resource.
> just let the users be. glibc provide some functionality to lookup
> usernames to UIDs (cuserid and getlogin). hardcoded UIDs are not
> portable (beside root account) and should be avoided everytime you
> design a daemon.
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org