Looking at the default /etc/passwd issued with Nevada, uid 27 is free. 
These are the uid's (below 100) curently allocated:

0 1 2 3 4 5 9 15 25 37 50 71 80 90 95

I searched the mysql website, but it doesn't seem to make any 
recommendations about uids & gids.

A quick Google search reveals that uid 60 is also used for mysql on both 
Gentoo & SUSE Linux. e.g. 
http://safari.samspublishing.com/067232735X/part02.

Since both uids 27 & 60 are free in our default /etc/passwd, it seems we 
have a choice.

Note that Red Hat uses 27 for mysql and 26 for postgres (but we use 90 
for postgres).


Trevor Watson wrote:
> It seems to be uid 27 on the couple of Linuxen hosts I checked. Is this 
> already used on Solaris?
> 
> Trev
> 
> Jan S Berg wrote:
> 
>>
>> We want to create the mysql user and mysql group in Solaris,
>> and do it as part of the above mentioned ARC case.
>>
>> We suggest to use userid 70 and groupid 70, as this seems to be
>> available.
>>
>> We think this is legitimate as the ARC case states:
>>
>> "MySQL will be installed by default with user mysql and group
>> mysql as done in the standard distribution. The default smf
>> script will also start MySQL as mysql user."
>>
>> It is filed a Bugster CR on this as well:
>>
>> 6648757 - mysql delivery doesn't match ARC case
>>
>> Which is also the CR that will be used for delivering the fix to 
>> OpenSolaris.
>>
>> We can file a new LSARC onepager if somebody disagrees that 
>> LSARC/2007/608 does not cover the creation of mysql user and group in 
>> solaris.
>>
>> Regards,
>> Jan S Berg
>>
> 


Reply via email to