how to generate auth log on centos 6.7

Yvon Huynh asked:

I discovered that there is no auth.log on our server Centos 6.7 Linux 3.14.
I tried service rsyslog restart but it is not working
what is the right way to do it in Centos?

My answer:


There is no auth.log on CentOS because that name is a Debian-ism.

You will find logs relating to user authentication in /var/log/secure.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.