save_mysql_passwd.sh needs to add a check so that it could be run only as the appdynamics user
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start with save_mysql_passwd.sh and inspect how it reads the user specified in db.cnf. Verify the script's behavior when run as root and as the configured appdynamics user; it is done when unauthorized execution is rejected and the configured user can still create the MySQL login file.
Written by the indexing model from the issue text.
Description
For MySQL 5.7, save_mysql_passwd.sh creates .mylogin.cnf and the permissions on this file are 600.
So this script needs to be run as the user that is specified in db.cnf.
Many customers are running this as root, and as appd user cannot read the .mylogin.cnf the logins fail.
This file cannot be made world readable as MySQL would not accept login file that is world readable.
- Dominant language
- Shell
- Stars
- 13
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Appdynamics/HA-toolkit
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Appdynamics/HA-toolkit#110 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Appdynamics/HA-toolkit#109 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Appdynamics/HA-toolkit#107 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Appdynamics/HA-toolkit#106 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
Appdynamics/HA-toolkit#105 ·
All issues in Appdynamics/HA-toolkit
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·