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

[no subject]



> James,
> 
> On Thu, 2004-02-26 at 11:27, James P. Kinney III wrote:
> > And while your editing the /etc/passwd file, change the line that reads:
> > /bin/bash
> > to:
> > /bin/false
> 
> 	Actually, this is dangerous.  It starts a shell, which begins to parse
> /bin/false and if you can catch it between the time it starts, and when
> it exits with an interrupt, the shell will happily give you a prompt!

Actually, false on most Linuxes is a binary that login just execs. On other 
Unixes its often a shell script, though

A better choice instead of false, on the Linuxes that provide it, is
nologin. That's usually available on BSDs as well....

later,
chris


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01027" href="msg01027.html">[ale] how to create user with no password</a></strong>
<ul><li><em>From:</em> John.Armsby at motorola.com (Armsby John-G16665)</li></ul></li>
<li><strong><a name="01033" href="msg01033.html">[ale] how to create user with no password</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="01041" href="msg01041.html">[ale] how to create user with no password</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="01066" href="msg01066.html">[ale] how to create user with no password</a></strong>
<ul><li><em>From:</em> danscox at mindspring.com (Danny Cox)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01067.html">[ale] X font problems</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01069.html">[ale] xvncviewer and ctrl-alt-del?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01066.html">[ale] how to create user with no password</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01081.html">[ale] how to create user with no password</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01068"><strong>Date</strong></a></li>
<li><a href="threads.html#01068"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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