Bug #23638
closedVirt-who configuration script fails due to username having a special character "$" in it.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1578538
Description of problem:
When using the virt who-configuration tool, the configuration script will fail to parse the username field properly when the username is a Windows Domain user and starts with a '$' as follows:
domain\$atellite
Version-Release number of selected component (if applicable):
Satellite 6.3.1
How reproducible:
Repeatable
Steps to Reproduce:
1. Execute the virt-who configuration utility
2. Enter username domain\$atellite
3. Execute script output on the Satellite
Actual results:
User name is mangled and the password is encrypted incorrectly.
Expected results:
username is stored properly and password is retrievable via hash.
Additional info:
The user name may be manually input and configured and the password hashed via virt-who-password and this configuration will work.