Bug 987765

Summary: password with '&' does not works
Product: Red Hat Enterprise Linux 6 Reporter: Martin Lazar <mlazar>
Component: ricciAssignee: Chris Feist <cfeist>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: cluster-maint, fdinitto, jpokorny, sbradley
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-12 14:17:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Lazar 2013-07-24 06:46:44 UTC
Description of problem:
If the password for ricci user contains the ampersand character, the ccs utility does not works.

Version-Release number of selected component (if applicable):
ricci-0.16.2-63.el6.x86_64
ccs-0.16.2-63.el6.x86_64


How reproducible:
# echo 'ricci:aAa' | chpasswd
# rm -rf ~/.ccs
# ccs -h localhost -p 'aAa' --getversion
85
(it works)

root ~ # echo 'ricci:a&a' | chpasswd
root ~ # rm -rf ~/.ccs
root ~ # ccs -h localhost -p 'aAa' --getversion
Unable to authenticate with ricci node, please check password.
(wrong password, the password was changed, expected result)

root ~ # time ccs -h localhost -p 'a&a' --getversion
Error: no ricci tag in ricci response
real	2m0.302s
(the right password, BUG!)

Comment 3 Jan Pokorný [poki] 2013-08-12 14:17:43 UTC
Duplicate of [bug 855117] (and possibly also [bug 855121]).
Also see [1] (just FYI, thread start is at [2], not easy to find due
to split across the months in the mailman archives).

[1] https://www.redhat.com/archives/linux-cluster/2012-September/msg00019.html
[2] https://www.redhat.com/archives/linux-cluster/2012-August/msg00091.html

*** This bug has been marked as a duplicate of bug 855117 ***