You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Qiang Zhang <zh...@zte.com.cn> on 2017/02/10 07:33:13 UTC
Re: Review Request 56429: If the linux user dones not exist,
the password is not set after the user is created during installing Ranger
Policy Admin. As description it increases the difficulty of the user to use
the system and reduces easy-using of the Ranger Policy Admin.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56429/
-----------------------------------------------------------
(Updated \u4e8c\u6708 10, 2017, 7:33 a.m.)
Review request for ranger, Alok Lal, Don Bosco Durai, Colm O hEigeartaigh, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
Summary (updated)
-----------------
If the linux user dones not exist, the password is not set after the user is created during installing Ranger Policy Admin. As description it increases the difficulty of the user to use the system and reduces easy-using of the Ranger Policy Admin.
Bugs: RANGER-1358
https://issues.apache.org/jira/browse/RANGER-1358
Repository: ranger
Description
-------
If the linux user dones not exist, the password is not set after the user is created during installing Ranger Policy Admin. The current logic is reasonable if the user exists during installing Ranger Policy Admin . Now we can only use the new linx user according to as following methods:
1. Set the new user password manually.
2. Login system using root user. Then use su command to switch the new user.
Obviously, these steps increase the difficulty of the user to use the system and reduce easy-using of the Ranger Policy Admin.
I will also modify the following defect in the issue:
The user group would be duplicate created if the user group existed during installing Ranger Policy Admin.
We should automatically set password for the new user after the user was created. And We should check whether the user group exists before creating user group during installing Ranger Policy Admin
Diffs
-----
security-admin/scripts/install.properties 34dec22
security-admin/scripts/setup.sh f7e02d9
Diff: https://reviews.apache.org/r/56429/diff/
Testing
-------
Thanks,
Qiang Zhang