Thanks so much everyone.<div><br></div><div>The best way to do it was to set a password using rootpw, then as Klaus mentions to remove it using</div><div><br></div><div>/usr/bin/passwd -d root</div><div><br></div><div>thanks again,<br>
<br><div class="gmail_quote">On Wed, Jun 25, 2008 at 11:31 PM, John Summerfield <<a href="mailto:debian@herakles.homelinux.org">debian@herakles.homelinux.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">Klaus Steden wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don�t believe so, but you could stick a �passwd �d root� in the �<post>�<br>
section of your Kickstart file to clobber it during the tail end of<br>
installation.<br>
<br>
cheers,<br>
Klaus<br>
<br>
On 6/25/08 2:30 PM, "niall el-assaad" <<a href="mailto:niallel@gmail.com" target="_blank">niallel@gmail.com</a>>did etch on stone<br>
tablets:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Is there a way of setting the "rootpw" entry so that there is no root<br>
password.<br>
<br>
I want to make the iso install completely and then ask the user to change the<br>
root password on first login.<br>
<br>
So they would just enter<br>
login: root<br>
<br>
then it will ask them to change their password.<br>
</blockquote></blockquote>
<br></div>
I would have thought setting it to some known constant, eg "toor" would work as well.<br>
<br>
I'm not sure that Klaus' idea with passwd works, but for sure both sed and perl can do it. As can vim:<br>
ex /etc/passwd -c '/root/ s/:x:/::/' -c :wq<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
<br>
Cheers<br>
John<br>
<br>
-- spambait<br>
<a href="mailto:1aaaaaaa@coco.merseine.nu" target="_blank">1aaaaaaa@coco.merseine.nu</a>  <a href="mailto:Z1aaaaaaa@coco.merseine.nu" target="_blank">Z1aaaaaaa@coco.merseine.nu</a><br>
-- Advice<br>
<a href="http://webfoot.com/advice/email.top.php" target="_blank">http://webfoot.com/advice/email.top.php</a><br>
<a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
<a href="http://support.microsoft.com/kb/555375" target="_blank">http://support.microsoft.com/kb/555375</a><br>
<br>
You cannot reply off-list:-)<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com" target="_blank">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" target="_blank">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br>
</div></div></blockquote></div><br></div>