Hot answers tagged password
There are various ways of setting this up, including using a different authentication method than passwords to start with. One method might be using TLS/SSL certificates for connection. But normally, keeping the password in a read-only file would suffice - as Kondybas says, if the root account is compromised, then everything is compromised.... You might ...
This is finally available as of OpenSSH 6.2 (released March 2013), using the AuthenticationMethods configuration option. For instance, you may add the following line to sshd_config to require both public-key and password authentication: AuthenticationMethods publickey,password When logging in, ssh and scp will first perform public-key authentication, and ...
Restart MySQL with skip-grant-tables in your config, change the password, then restart again after taking skip-grant-tables back out. Oh, and if you have an internet exposed MySQL listener (which you really shouldn't), then you need to change that (bind-address = 127.0.0.1) before you do this.
Only top voted, non community-wiki answers of a minimum length are eligible