Hi,
I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir?
-- CS.
Carlos Santana wrote:
I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir?
man logrotate
specifically look at: create mode owner group
You should create a new group that allowed to access logs, and add new group in visudo with permission to access log files.
Warm regards, David http://blog.pnyet.web.id
Carlos Santana wrote:
Hi,
I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir?
-- CS. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
You could use ACL's, I use this ti give my normal user access to these logs, saving me logging in as root.
On 26 March 2010 15:55, Carlos Santana neubyr@gmail.com wrote:
Hi,
I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir?
-- CS. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos