How to change the /var/log/wtmp file permissions from default (664) to whatever we want?
Issue
- Need to change the permission permanently for /var/log/wtmp
- If I change the permission for /var/log/wtmp file in the logrotate.conf file then it gets reverted to default following the reboot.
- Permission for /var/log/wtmp is getting changed. Why?
Environment
- RHEL 7.1
- permissions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.