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

John Doe jdmls at yahoo.com
Thu Jan 9 10:50:10 UTC 2014


From: Mihamina Rakotomandimby <mihamina at rktmb.org>

> Default MySQL installation on CentOS sets /bin/bash as shell.
> I'm on a user cleanup task where I want reduce unneeded privileges to users.

Its password should be locked.
So you cannot login as mysql but you can "su - mysql" or run scripts as mysql.
I do not know if any of the "standard" tools needs a shell though.

JD



More information about the CentOS mailing list