[xen-tools] Re: installing centos5
Steve Kemp
steve at steve.org.uk
Wed Aug 8 21:28:59 CEST 2007
On Wed Aug 08, 2007 at 20:53:26 +0200, Anton Melser wrote:
> > yum install -y authconfig
> > authconfig --enableshadow --update
> Are you sure this works?
Prior to making that change I couldn't change the root password
inside the chroot. After making that change I could.
> I have updated rinse, but it didn't seem to have the desired effect...
> I still get it not asking for a password. Am I missing something?
I think I misunderstood your problem. (It helps to be pretty
specific; I frequently misunderstand if people are not!)
There are/were two issues:
1. When installing a new distribution via rinse, even if
you specified --passwd flag, you wouldn't be prompted to set the
root password for new Xen guests.
2. If you tried to change the password of your new guest
it would fail.
I now guess the first problem is what you meant - whereas
I was talking about the second. From a plain install changin
the password fails by default:
rinse --distribution=centos5 --arch=amd64 --directory=/tmp/co5
chroot /tmp/co5
bash-3.1# passwd root
Changing password for user root.
passwd: Authentication token manipulation error
(After running the two commands things work as expected.)
Your problem is new to me, so I don't have a solution yet I'm
afraid..
Steve
--
More information about the xen-tools-discuss
mailing list