You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhishek Kumar (Jira)" <ji...@apache.org> on 2023/05/15 22:41:00 UTC
[jira] [Created] (RANGER-4237) Fix bugs in changepasswordutil.py and changeusernameutil.py
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)