[CentOS] Re: rootpw and graphical mode?
linuxsemi at gmail.com
Fri Sep 7 18:17:18 UTC 2007
For whatever reason, this just does not want to work for me...
I get my crypted password from the /etc/shadow file and copy it
directly into the ks file.
I've done this ~ 6-8 times now, resetting the root password, copying
it and trying to kickstart from it - no change. (I thought there was
only one right answer, but if I reset my password and type the same
thing, the crypted string changes slightly everytime.)
Anaconda still prompts me for the password no matter what.
If I change it to a plain text password, it works.
If I use the non-graphical install, it works.
I've even deleted the lines to make sure I don't have any special
characters in there...
The only thin I can think of is that maybe my crypted password
contains an escape sequence that might not be properly handled in
I'm completely stumped.
On 9/6/07, Johnn Tan <linuxweb at gmail.com> wrote:
> semi linux wrote:
> > Here is the relevant section of the kickstart: (does prompt for pw):
> > lang en_US
> > keyboard us
> > timezone America/Los_Angeles --utc
> > rootpw textpw
> > # rootpw --iscrypted ***********************
> > reboot
> > logging --level=debug
> > graphical
> > # text
> > install
> > autostep --autoscreenshot
> > driverdisk --type=ext2 --source=http://****/3w9650SE-x86_64-184.108.40.206.img
> > url --url http://*****/CentOS5
> > bootloader --location=mbr --append="crashkernel=256M at 16M"
> > zerombr
> > clearpart --all --initlabel
> > part swap --recommended --ondisk=sda
> > part /boot --fstype "ext3" --ondisk=sda --size 200
> > part / --fstype "ext3" --ondisk=sda --size 100000
> > auth --useshadow --enablemd5
> > network --bootproto=dhcp --device=eth0 --hostname=temp --onboot=yes --noipv6
> > firewall --disabled
> > selinux --disabled
> > xconfig --defaultdesktop=gnome --startxonboot --resolution=1024x768 --depth=32
> > If I uncomment these lines and re-comment their counterparts, then is prompts.
> > - The prompt is the default password prompt.
> > - The auth line is in there.
> > - I don't necessarily need graphical but it's a whole lot nicer due to
> > the screenshots provided
> > Any other hints or suggestions?
> Looks about right. Where are you getting the crypted root
> pw? Are you sure it's valid/complete?
> Other than that, I don't have any other suggestions.
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS