RHEL Web Stack (mysql user)

Manuel Arostegui Ramirez manuel at todo-linux.com
Thu Aug 17 15:34:10 UTC 2006


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