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"><<a href="mailto:rasto.levrinc@gmail.com">rasto.levrinc@gmail.com</a>></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 <<a href="mailto:c.smit@truebit.nl">c.smit@truebit.nl</a>> wrote:<br>
> Hi Rasto,<br>
><br>
</div><div class="im">> My first point was fixed in 1.0.4, thanks!<br>
><br>
> But I still get:<br>
><br>
> grep: /var/log/messages: Permission denied<br>
><br>
> When trying to view a service log.<br>
><br>
> Am I doing something wrong?<br>
<br>
</div>Hi Caspar,<br>
<br>
if I'd do that, it would require that you put the command grep in the<br>
sudoers file<br>
and for example "grep . file" 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>