Just setup the password initially to something via the "rootpw" setting. Then in the %post section remove the "x" from the /etc/passwd file for the root account. You can do that with sed/awk/perl. This will render the root account with NULL password. -Georgi -----Original Message----- From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Mats Karlsson Sent: Wednesday, June 25, 2008 17:25 To: Discussion list about Kickstart Subject: Re: Can you set a blank root passwd with a kickstart file? niall el-assaad wrote: > 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 can get the second part to happen with "chage -d0 root" in the %post > section, but can't get it to install without a password in the first place. > > If I leave out the rootpw entry it asks me to enter one as part of anaconda. > > Is there some switch I can use with the rootpw entry to not have a password? > > thanks, > > niall > Have you tried to set a "blank" password ? If not, create a blank pw with : perl -we 'print crypt("", "salt"). "\n"' /Mats _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list ______________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list