Can you set a blank root passwd with a kickstart file?

niall el-assaad niallel at gmail.com
Wed Jun 25 22:57:53 UTC 2008


Thanks so much everyone.
The best way to do it was to set a password using rootpw, then as Klaus
mentions to remove it using

/usr/bin/passwd -d root

thanks again,

On Wed, Jun 25, 2008 at 11:31 PM, John Summerfield <
debian at herakles.homelinux.org> wrote:

> Klaus Steden wrote:
>
>> I don�t believe so, but you could stick a �passwd �d root� in the �<post>�
>> section of your Kickstart file to clobber it during the tail end of
>> installation.
>>
>> cheers,
>> Klaus
>>
>> On 6/25/08 2:30 PM, "niall el-assaad" <niallel at gmail.com>did etch on
>> stone
>> tablets:
>>
>>  Hi,
>>>
>>> Is there a way of setting the "rootpw" entry so that there is no root
>>> password.
>>>
>>> I want to make the iso install completely and then ask the user to change
>>> the
>>> root password on first login.
>>>
>>> So they would just enter
>>> login: root
>>>
>>> then it will ask them to change their password.
>>>
>>
> I would have thought setting it to some known constant, eg "toor" would
> work as well.
>
> I'm not sure that Klaus' idea with passwd works, but for sure both sed and
> perl can do it. As can vim:
> ex /etc/passwd -c '/root/ s/:x:/::/' -c :wq
>
>
>
>
>
> --
>
> Cheers
> John
>
> -- spambait
> 1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
> -- Advice
> http://webfoot.com/advice/email.top.php
> http://www.catb.org/~esr/faqs/smart-questions.html
> http://support.microsoft.com/kb/555375
>
> You cannot reply off-list:-)
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080625/58e38fc7/attachment.htm>


More information about the Kickstart-list mailing list