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

Luigi Rosa lists at luigirosa.com
Fri Jan 10 21:07:31 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Warren Young said the following on 10/01/2014 21:41:

> I have one from March 2013, and it *does* have /bin/bash as user mysql's 
> shell.

The June 2013 installation with /sbin/nologin COULD have been installed with a
old DVD (say CentOS 6.2) and updated via Internet (I really don't remember).
It's my home server, I rebuilt it last summer.

The latest with /bin/bash is a CentOS VM hostd at www.cloudatcost.com

Nearly on the same period I created a VM at Hetzner.de, and it has /sbin/nologin

The funy thing is that both cloudatcost.com and hetzner.de are two VMs
provided with the "Minimal" installation and I installed mysql-server package
from the repositories. I am not sure if I chsh-ed the mysql account


Anyway, why assign an interactive shell to mysql???



Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

The world is coming to an end... SAVE YOUR BUFFERS!!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS0GEJAAoJEO5WT/qgw4yK8CEP/RvtyohO/owB2KPI4xQTQkJU
r+jllbooHZRFXOBqBFqz12TeFo3nmV9rBao9aJXL84LWoKliJhOENC4Dz8aKYybE
MTQDdvEXr2kis3Su5uhPdU6LRS0DlzxuOAOtLz3mQPj1ODdHnmSokGJq/5upq3xZ
s+ES0GKxyBPESeEe4oU5qzqngxGKQX9e1nO2w8/Q2GUP1QS/w6TTbkyub6SGAkGQ
Gjca6o4Tyhi7Y0OliX8UrRJM8m/WWQtUhIO8Uxpqjl3HkueelnkIcqBiq0D+5cV5
ynKkEusTUlxMWXReZIYu/S//pYR7eo8YFooWttQF9JWvQc5lx3EHo84NWg9LBvA6
a7uHz5y6DznrshpQht6Ut/ctA04PfmdjBG6l6H4EvAipypHK6N0ZBF6ksu6rbtK0
bfmxevXKrBCIRQpO7JrYzpV7N/P54hUMQuec5pnkEqqgKJ9Y1fncPAcZoWeAWDe6
2qy1XlaDh0AL09PEDZR21zdekipkWEWvyqsRduE4OY2OxDyHLC4IUXFaka5XwWA4
Ybjjd/ai6J/vdeM5RM2W6pxadGzha1dPFrV8e8hYJ8AAf3XARvUep0pHvaU32109
BXE3lcXn8qWO5dstwChsNQ3yaOX7lV5k25DYYGPNr+TqIZ+GwvsVVZlb3XV72wxh
46mFqAy79CH1IlULkpUh
=IWWy
-----END PGP SIGNATURE-----



More information about the CentOS mailing list