[CentOS] Why does 'mysql' user has /bin/bash shell?

Mihamina Rakotomandimby mihamina at rktmb.org
Fri Jan 10 06:32:03 UTC 2014


On 01/10/2014 02:25 AM, Cliff Pratt wrote:
> Can you not set up a test system and try it out? Or, if this is your only
> system, could you not back it up, and test your suggestions out?

I dont have enough unit test in mind to assume it's safe.

> The mysql "shell" is for viewing data in your databases and manipulating
> the data in required. You can also add tables and things like that. It is a
> powerful tool if you know what you are doing.

I might confuse you.
I'm not talking about the "mysql>" prompt. I know what it is for.
I'm talking about:
# grep mysql /etc/passwd
mysql:x:498:498:MySQL server:/var/lib/mysql:/bin/bash
                                             ^^^^^^^^^
                                             this -|




More information about the CentOS mailing list