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

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

 



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

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux