Abhishek Kumar created RANGER-4237: -------------------------------------- Summary: Fix bugs in changepasswordutil.py and changeusernameutil.py Key: RANGER-4237 URL: https://issues.apache.org/jira/browse/RANGER-4237 Project: Ranger Issue Type: Bug Components: Ranger Affects Versions: 2.4.0 Reporter: Abhishek Kumar Assignee: Abhishek Kumar Fix For: 3.0.0
Found bugs: * changepasswordutil.py exposes passwords while taking input * unused imports * RMI call to java may hang indefinitely in case the command doesn't complete, add a timeout. * Redundant logging constructs * Fix while loops for parsing user input * Use argparse & getpass to parse input * Avoid sys.exit(1) in function calls to be more reusable. -- This message was sent by Atlassian Jira (v8.20.10#820010)