CCI-MOC / moc-openstack-tools

Tools for OpenStack administration, user/project management, etc.
Apache License 2.0
0 stars 8 forks source link

Fix reset password functionality with path fix in the bash profile. #85

Closed greyspectrum closed 6 years ago

greyspectrum commented 6 years ago

This fix restores the ability to run a password reset as the helpdesk user. The path to reset-password.py in the bash profile is wrong, so if the helpdesk user tries to invoke it, they will get prompted for a sudo password (since sudo is parsed first, this is the error they get, but the command would fail to run anyway, since reset-password.py isn't in the expected path). Presumably, the incorrect path is just a legacy of reset-password.py's old location and the bash profile just wasn't updated to reflect the change.