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

chef-server-ctl password command does not accept special characters #366

Closed
rhass-r7 opened this issue Jun 23, 2015 · 0 comments
Closed
Labels
Type: Bug Does not work as expected.

Comments

@rhass-r7
Copy link
Contributor

The chef-server-ctl password command does not accept special characters which can be interpreted by the shell.

Example:

sudo chef-server-ctl password myusername
Enter the new password:  test(123)
Enter the new password again:  test(123)
sh: 1: Syntax error: "(" unexpected
Command failed

The expected behavior is for a password of any length containing any printable character.

@stevendanna stevendanna added this to the accepted-minor milestone Nov 6, 2016
@stevendanna stevendanna added the bug label Nov 6, 2016
stevendanna added a commit that referenced this issue Nov 6, 2016
chef-server-ctl password delegates to `knife-opc`. In doing so, it was
not escaping special characters in the user supplied data.  Now, it
does.

Fixes #366

Signed-off-by: Steven Danna <[email protected]>
stevendanna added a commit that referenced this issue Nov 23, 2016
chef-server-ctl password delegates to `knife-opc`. In doing so, it was
not escaping special characters in the user supplied data.  Now, it
does.

Fixes #366

Signed-off-by: Steven Danna <[email protected]>
@tas50 tas50 added Type: Bug Does not work as expected. and removed bug labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

3 participants