Hi luochong, Regarding, *Is there another way to sync user info automatically?* Ranger-Usersync process syncs the added users in particular time interval which is in minutes; By default it is set to 5 minutes.The property name is "SYNC_INTERVAL". So it will sync newly added user after that interval or you have restart ranger-usersync. You can update this value in install.properties file and run the setup.sh script to update the value in the Usersync process, after this you will have to restart ranger-usersync process.
Regarding, * How to remove the user info of ranger?* To delete the user from Ranger database, you will have to delete the user from Ranger UI manually, as the Ranger-Usersync process will only add users to Ranger Database. Regard, Bhavik Patel +91-7208744109 On Thu, Jun 22, 2017 at 1:16 PM, luoch...@gdbigdata.com < luoch...@gdbigdata.com> wrote: > Hi, > Now I sync the users of Linux OS to Ranger. But i meet two questions. > > Ranger Version : 0.7.0 > > 1) Ranger could not sync OS user info . > Steps: > 1) Excecute the command : ranger-usersync start > 2) then create one user in linux : useradd -d /usr/unix02 -m > unix02 > 3) Check the ranger database. > But I could not find this user -- unix02 in ranger database. Only > restart the ranger-usersync , this record can be found. > In the Internet, there is one record -- https://community. > hortonworks.com/questions/21170/is-there-a-way-to-force- > ranger-user-sync.html. In this, they suggested execute the command > UnixUserGroupBuilder > manually. > > My Question: Is there another way to sync user info automaticly? > > 2) Ranger could not remove the user > Steps: > 1) add the user in OS system > 2) Ranger sync this user to ranger database after restart > ranger-usersync > 3) delete this user from OS system > 4) restart the ranger-usersync. > > This deleted user is still in Ranger database, > > My question: How to remove the user info of ranger? > > > Thanks & Regards > > ------------------------------ > luoch...@gdbigdata.com > >