ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19067) Special characters break creating user homes
Date Mon, 05 Dec 2016 13:52:58 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722318#comment-15722318
] 

Hudson commented on AMBARI-19067:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #453 (See [https://builds.apache.org/job/Ambari-branch-2.5/453/])
AMBARI-19067. Special characters break creating user homes (Laszlo (smagyari: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3e0d02145e836621a375613767672a5ccb908203])
* (edit) ambari-server/src/main/resources/scripts/post-user-creation-hook.sh


> Special characters break creating user homes
> --------------------------------------------
>
>                 Key: AMBARI-19067
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19067
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Laszlo Puskas
>            Assignee: Laszlo Puskas
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19067.trunk.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The initial implementation of the post user creation script generates a json from the
csv passed to it to create user home folders in bulk.
> If usernames contain special characters like quotes etc .. the generated json input file
gets broken.
> The fix is to escape usernames while generating the json.



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

Mime
View raw message