<div dir="ltr">Nitesh<br><br>There's no "security" issue with making /bin/sh executable to all. In general, its owner is NOT you, so making it u+x will not "improve" security.<br><br>In addition, it should be executable by all users in the system, shouldn't it? :-) it is just a binary for running a generic shell....<br>
<br><div class="gmail_quote">On Sun, Nov 29, 2009 at 8:14 PM, Nitesh Mistry <span dir="ltr"><<a href="mailto:mistrynitesh@gmail.com">mistrynitesh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div class="gmail_quote"><div class="im">On Sun, Nov 29, 2009 at 10:14 PM, Alex Lourie <span dir="ltr"><<a href="http://djay.il" target="_blank">djay.il</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Nitesh,<br><br>try 'sudo chmod a+x /bin/sh', and then run validation shell script again.<br></div></blockquote></div><div><br>Shouldn't 'u+x' be a better option, since it would give access only to me and not all users on this computer?<br>
By the way, it did validate using the command Thomas suggested ($ bash scripts/validate.sh ...) It was his comment on using the command that got me worrying. Is that a security issue on my computer?<br></div></div>Anyways, thanks for educating. Your suggestion made me go through the man page of chmod again. Had forgotten it since not used frequently.<div class="im">
<br>
<br>Regards,<br>-- <br>Nitesh<br><a href="http://techformyself.blogspot.com" target="_blank">http://techformyself.blogspot.com</a><br><br>-----BEGIN GEEK CODE BLOCK-----<br>Version: 3.12<br>GB/J/IT/O>TW d+(-) s+:+>: a- C+ UL>+++ P? L++>+++ E? W++ N? o? K? w--- O? M-- V? PS+() PE(++)(-) Y+ PGP+ t 5? X- R tv+ b+ DI D G e+++>++++ h-- !r y?<br>
------END GEEK CODE BLOCK------<br>
</div></div>
</blockquote></div><br></div>