<div dir="ltr">correction .... we have a "logs" symlink in a home directory (previously written as a "/logs" directory.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">--<br>Thanks,<br>--:: Alexander J. Snyder ::--<br>--:: <a href="http://thisguyshouldworkfor.us" target="_blank">ThisGuyShouldWorkFor.Us</a> ::--<br>--:: "Never trust a computer you can't throw out a window. --Steve Wozniak" ::--<br>--</div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 5, 2016 at 2:44 PM, Snyder, Alexander <span dir="ltr"><<a href="mailto:alex@misteralexander.com" target="_blank">alex@misteralexander.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No, this is for a work system ... it's incredibly locked down. You only have free reign in your home directory. <u style="font-style:italic">Everything and everywhere else</u> is a sudo request. We have a /logs directory in a home directory that points to a "/var/log/xyz/abc.log" location, but we were unsure if we could simply request "/home/user/logs", or if we needed a separate request for the /var location as well.<div><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Fri, Feb 5, 2016 at 2:37 PM, Stephen Partington <span dir="ltr"><<a href="mailto:cryptworks@gmail.com" target="_blank">cryptworks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:trebuchet ms,sans-serif">you can use the symlink, and maybe grant group access to the symlink that should give you access to the other location. but generally speaking normal users have read access to /var. so you should not need elevated credentials.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Feb 5, 2016 at 2:19 PM, Snyder, Alexander <span dir="ltr"><<a href="mailto:alex@misteralexander.com" target="_blank">alex@misteralexander.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Does anyone know if you grant sudo access to a symlink, does that grant access to the destination?</div><div><br></div><div>Like this ... inside the sudoers file, I have:</div><div><br></div><div>/bin/cat * /home/user/logs</div><div><br></div><div>"logs" is a symlink pointing to: /var/log/httpd/</div><div><br></div><div>will that work, or will i need to specify the direct path?</div><div><br></div><div>Thanks,</div><div>Alex.</div>
</div>
<br></div></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>
</font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>