[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



One way this could be bad is that some commands offer different 
capabilities to root and non-privileged users. A shell cannot predict 
with certainty whether it should request a privilege escalation or not 
in such a situation.

Consider the "unlink" command. This will fail if a non-privileged user 
tries to remove a non-empty directory. If root gives the same command, 
it is likely to succeed. What I've read on the subject suggests this 
can seriously damage a file system.

What should the shell do when you try to unlink a non-empty directory?

S

-- 
Stephen Cristol
cristol at emory.edu


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00634" href="msg00634.html">[ale] Sudo</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00607" href="msg00607.html">[ale] Sudo</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00630.html">[ale] Sunday 05-22-05 6PM RUN-AS-ROOT CHALLENGE</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00632.html">[ale] Sudo</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00647.html">[ale] Sudo</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00634.html">[ale] Sudo</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00631"><strong>Date</strong></a></li>
<li><a href="threads.html#00631"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>