Rasto,<br><br>Changing the permissions fixed this for me, thanks!<br><br clear="all">Kind regards,<br><br>Caspar Smit<br><br><br><div class="gmail_quote">2011/11/8 Rasto Levrinc <span dir="ltr">&lt;<a href="mailto:rasto.levrinc@gmail.com">rasto.levrinc@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Nov 8, 2011 at 3:13 PM, Caspar Smit &lt;<a href="mailto:c.smit@truebit.nl">c.smit@truebit.nl</a>&gt; wrote:<br>

&gt; Hi Rasto,<br>
&gt;<br>
</div><div class="im">&gt; My first point was fixed in 1.0.4, thanks!<br>
&gt;<br>
&gt; But I still get:<br>
&gt;<br>
&gt; grep: /var/log/messages: Permission denied<br>
&gt;<br>
&gt; When trying to view a service log.<br>
&gt;<br>
&gt; Am I doing something wrong?<br>
<br>
</div>Hi Caspar,<br>
<br>
if I&#39;d do that, it would require that you put the command grep in the<br>
sudoers file<br>
and for example &quot;grep . file&quot; would let you to see content of any file.<br>
<br>
I think better solution is to change the permissions of /var/log/messages or<br>
/var/log/syslog in your case so that the user can read it.<br>
<div><div></div><div class="h5"><br>
Rasto<br>
<br>
--<br>
Dipl.-Ing. Rastislav Levrinc<br>
<a href="mailto:rasto.levrinc@gmail.com">rasto.levrinc@gmail.com</a><br>
Linux Cluster Management Console<br>
<a href="http://lcmc.sf.net/" target="_blank">http://lcmc.sf.net/</a><br>
_______________________________________________<br>
drbd-mc mailing list<br>
<a href="mailto:drbd-mc@lists.linbit.com">drbd-mc@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-mc" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-mc</a><br>
</div></div></blockquote></div><br>