Re: Why does 'mysql' user has /bin/bash shell?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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?

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.

Cheers,

Cliff


On Thu, Jan 9, 2014 at 10:27 PM, Mihamina Rakotomandimby <mihamina@xxxxxxxxx
> wrote:

> Hello,
>
> 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.
>
> What is the "mysql" user shell for? (What will happen if I change it to
> /bin/false or whatever would disable it's shell?)
>
> It's not only a matter of SSH (I'm aware I can AllowUsers in sshd_config
> for example).
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux