zegl / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

SSH remote user should not be root #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
MHA manager uses ssh to manage nodes with a ssh_user defined in configuration 
file. Some of commands must have admin rights on nodes, meaning that by 
default, if you do not set ssh_user to root, it will not work.
In a production environment, ssh is not allowed to root.
ssh_user should be sudoer with no password and on manager, commands should use 
sudo (apply_diff_relay_logs, save_binary_logs)

Thanks for you work. This is a very nice project.

Original issue reported on code.google.com by stephane...@gmail.com on 19 Apr 2012 at 9:56

GoogleCodeExporter commented 9 years ago
Hi,

I agree that sudo access would be really beneficial for production deployments

Joffrey

Original comment by joff...@mariadb.com on 16 Jan 2013 at 10:15