RHEL Web Stack (mysql user)

Ryan Golhar golharam at umdnj.edu
Thu Aug 17 15:52:32 UTC 2006


Thanks Manuel.  I'm actually installing mysql from RPM using up2date.
I'll change the entry in /etc/passwd.  I'm wondering if I should file
this as a bug in bugzilla...

Ryan

-----Original Message-----
From: Manuel Arostegui Ramirez [mailto:manuel at todo-linux.com] 
Sent: Thursday, August 17, 2006 11:34 AM
To: golharam at umdnj.edu; General Red Hat Linux discussion list
Subject: Re: RHEL Web Stack (mysql user)


El Jueves, 17 de Agosto de 2006 17:20, Ryan Golhar escribió:
> I installed mySQL 5.0.18 from the Web Stack beta for RHEL AS 4.  I see

> this entry in /etc/password:
>
> mysql:x:100:101:MySQL server:/var/lib/mysql:/bin/bash
>
> Shouldn't the login shell be /sbin/nologin?
>

By default no

When installing MySQL from sources I always use:

groupadd mysql
useradd mysql -c "MySQL Server" -d /dev/null -g mysql -s /sbin/nologin 

And then all compiling options...
If you wish to know which options I use, all you have to do is ask ;-)

Greetings.
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.





More information about the redhat-list mailing list