ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Borad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-758) Handle special characters in passwords starting from -r
Date Wed, 02 Dec 2015 08:24:10 GMT
Gautam Borad created RANGER-758:
-----------------------------------

             Summary: Handle special characters in passwords  starting from  -r 
                 Key: RANGER-758
                 URL: https://issues.apache.org/jira/browse/RANGER-758
             Project: Ranger
          Issue Type: Bug
          Components: admin
    Affects Versions: 0.5.1
            Reporter: Gautam Borad
            Assignee: Gautam Borad
             Fix For: 0.5.1, 0.6.0


*Problem Statement*:
    Ranger install fails if password starts with '-r'

*Steps to Reproduce*: 
1) Deploy cluster with out ranger
2) Try to add ranger with specific password
    Ranger DB password = -ran*ger_$admin+

*Actual result*:
When password contains '-r' at beginning, parsing does not work properly: 
{code}
2015-11-23 17:19:52,462  [I] --------- Verifying Ranger DB connection ---------
2015-11-23 17:19:52,462  [I] Checking connection
SQLException : SQL state: 28P01 org.postgresql.util.PSQLException: FATAL: password authentication
failed for user "rangeradmin" ErrorCode: 0
2015-11-23 17:19:52,705  [E] Can't establish connection 
{code}

*Expected Result*: 
Ranger install should work even with passwords starting with '-r'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message