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:54:00 UTC
[jira] [Commented] (RANGER-4237) Fix bugs in changepasswordutil.py and changeusernameutil.py
[ https://issues.apache.org/jira/browse/RANGER-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722944#comment-17722944 ]
Abhishek Kumar commented on RANGER-4237:
----------------------------------------
PR: https://github.com/apache/ranger/pull/256
> 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
> Priority: Major
> 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.
> * migrate to python3
--
This message was sent by Atlassian Jira
(v8.20.10#820010)