[
https://issues.apache.org/jira/browse/RANGER-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102838#comment-16102838
]
peng.jianhua commented on RANGER-1690:
--------------------------------------
Hi [~ankita.sinha] I verified the issue according to following steps.I did not
reproduce the problem you mentioned.
1. Get the newest code from Ranger repository.
2. Compile Ranger project.
3. Install ranger usersync
4. Check /etc/ranger/usersync/conf/java_home.sh
Result:
1. Install ranger usersync successfully.
2. The content is ok in /etc/ranger/usersync/conf/java_home.sh file.
I have encountered the same problem using previous version to install ranger
usersync in centos system. It has nothing to do with this issue. Please use
dos2unix command to change your install file format.
Or please further describe your installation environment and installation
steps.
> Ranger usersync created error users. Ranger usersync got System Virtual User
> Group Name instead of real group name when built the unix user list.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-1690
> URL: https://issues.apache.org/jira/browse/RANGER-1690
> Project: Ranger
> Issue Type: Bug
> Components: usersync
> Reporter: peng.jianhua
> Assignee: peng.jianhua
> Labels: patch
> Fix For: 1.0.0
>
> Attachments:
> 0001-RANGER-1690-Ranger-usersync-created-error-users.-Ran.patch
>
>
> The ranger.usersync.unix.minGroupId is not set default value. Like
> ranger.usersync.unix.minUserId, it should be set default value. Following
> variable equals to 0 when built the unix user list.
> minimumGroupId=Integer.parseInt(config.getMinGroupId());
> Ranger usersync may get System Virtual User Group Name instead of real group
> name.
> if (numGroupId < minimumGroupId)
> continue;
> String groupName = groupId2groupNameMap.get(gid);
> This result is that the Ranger usersync created error users.
> http://www.archivum.info/[email protected]/2006-03/03888/Bug-333706-marked-as-done-(useradd-lacks-r-option).html
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)