Support Questions
Find answers, ask questions, and share your expertise

Why is the access mode of the usersync.log 600 ?

Solved Go to solution

Why is the access mode of the usersync.log 600 ?

Explorer

I built the hadoop cluster included the Ranger service with the Ambari.

When I checked the usersync.log, I needed the sudo command.

On the other hands, the logs for the ranger-admin allow anyone to read.

Why is the access mode of the usersync.log 600 ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Why is the access mode of the usersync.log 600 ?

@Junichi Oda

It's because of security. Usesysnc gets the information from AD/LDAP when we sync it with corporate AD.

I have the same.

-rw-------. 1 ranger ranger 563040 Jan 14 23:59 usersync.log.2016-01-14

-rw-------. 1 ranger ranger 563040 Jan 15 23:59 usersync.log.2016-01-15

-rw-------. 1 ranger ranger 561917 Jan 16 23:59 usersync.log.2016-01-16

-rw-------. 1 ranger hadoop 558360 Jan 17 23:59 usersync.log.2016-01-17

-rw-------. 1 ranger hadoop 557551 Jan 18 23:59 usersync.log.2016-01-18

-rw-------. 1 ranger hadoop 558964 Jan 19 23:59 usersync.log.2016-01-19

-rw-------. 1 ranger hadoop 560416 Jan 20 23:59 usersync.log.2016-01-20

-rw-------. 1 ranger hadoop 558842 Jan 21 23:59 usersync.log.2016-01-21

-rw-------. 1 ranger hadoop 558720 Jan 22 23:59 usersync.log.2016-01-22

-rw-------. 1 ranger hadoop 560172 Jan 23 23:59 usersync.log.2016-01-23

-rw-------. 1 ranger hadoop 559214 Jan 24 23:59 usersync.log.2016-01-24

-rw-------. 1 ranger hadoop 559784 Jan 25 23:59 usersync.log.2016-01-25

-rw-------. 1 ranger hadoop 558720 Jan 26 23:59 usersync.log.2016-01-26

[root@phdns01 usersync]#

View solution in original post

2 REPLIES 2
Highlighted

Re: Why is the access mode of the usersync.log 600 ?

@Junichi Oda

It's because of security. Usesysnc gets the information from AD/LDAP when we sync it with corporate AD.

I have the same.

-rw-------. 1 ranger ranger 563040 Jan 14 23:59 usersync.log.2016-01-14

-rw-------. 1 ranger ranger 563040 Jan 15 23:59 usersync.log.2016-01-15

-rw-------. 1 ranger ranger 561917 Jan 16 23:59 usersync.log.2016-01-16

-rw-------. 1 ranger hadoop 558360 Jan 17 23:59 usersync.log.2016-01-17

-rw-------. 1 ranger hadoop 557551 Jan 18 23:59 usersync.log.2016-01-18

-rw-------. 1 ranger hadoop 558964 Jan 19 23:59 usersync.log.2016-01-19

-rw-------. 1 ranger hadoop 560416 Jan 20 23:59 usersync.log.2016-01-20

-rw-------. 1 ranger hadoop 558842 Jan 21 23:59 usersync.log.2016-01-21

-rw-------. 1 ranger hadoop 558720 Jan 22 23:59 usersync.log.2016-01-22

-rw-------. 1 ranger hadoop 560172 Jan 23 23:59 usersync.log.2016-01-23

-rw-------. 1 ranger hadoop 559214 Jan 24 23:59 usersync.log.2016-01-24

-rw-------. 1 ranger hadoop 559784 Jan 25 23:59 usersync.log.2016-01-25

-rw-------. 1 ranger hadoop 558720 Jan 26 23:59 usersync.log.2016-01-26

[root@phdns01 usersync]#

View solution in original post

Highlighted

Re: Why is the access mode of the usersync.log 600 ?

Explorer
@Neeraj Sabharwal

Thank you for your prompt reply. I'm happy now.