Re: [CentOS] non-root access to log files

2010-03-26 Thread Steve Hamblett
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 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 per

Re: [CentOS] non-root access to log files

2010-03-26 Thread David
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-ro

Re: [CentOS] non-root access to log files

2010-03-26 Thread Steven Tardy
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