Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden password from /proc/{pid}/cmdline or ps command output #837

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

martianzhang
Copy link

Description

This PR [briefly explain what it does]

If the user sets the password with a command-line argument, when gh-ost running, another user can get the password from /proc/{pid}/cmdline file or from ps command. It seems to be not secure. As mysql client does, it will be more secure to replace the password with several x letters.

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants