*** (0.28) *** Re: [Linux-HA] UIDs/GIDs for hacluster and haclient

Alan Robertson alanr at unix.sh
Mon Feb 26 20:23:24 MST 2007


Andrew Beekhof wrote:
> On 2/22/07, Knight, Doug <dknight at wsi.com> wrote:
>> Hi all,
>> I'm setting up a first time HA using v2, and was wondering if there are
>> any recommendations/guidelines/gotchas with UID/GID assignment for the
>> hacluster account and haclient group?
> 
> it depends on where your binaries come from...
> 
> if you're compiling your own, use whatever values you like and make
> sure you tell that to ./configure
> 
> otherwise you'll need to use whatever names and or UID/GID that was
> used to build the package. by default i think its 90.

If a distribution has told us what values they want us to use, they are
in the ConfigureMe script.  If they haven't told us, and the names
weren't already present in passwd and group before we configure, then we
just grab the next available uid and gid.

I believe the 90 Andrew mentioned is the correct value for SUSE.  If
your distro doesn't have one they've told us about, and it's available
it's a reasonable value.

Here is the order things are decided in:
	We use the specified value given by configure
	If none specified, then we look in the passwd and group
		for our uid and gid names.
	If not found we choose find a free one.

Obviously, getting to the last place isn't very good for a general solution.

-- 
    Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce


More information about the Linux-HA mailing list