[CentOS-devel] CentOS-6.4 OpenStack testing cloud images

Nux! nux at li.nux.ro
Fri Oct 25 11:42:56 UTC 2013


On 25.10.2013 09:33, mail.zhang.yee wrote:
> +1 for below...
> I am new to use this image, may i know the default password for root?
> =================================
> Image logs good to the log output and console seems to wok fine.
> Is there a root password setup? Ssh also accepts password login per 
> default.
> (My favourite would be a standard password people can login on the
> console, but only allow ssh login via ssh keys. ??)

-1 , I'm against this. Cloud-init and Openstack Havana seem (untested) 
to support setting an admin password as well in addition to the SSH key 
and I'd rather be able to use this feature.
If the images are for Openstack then they should be so all the way.
As such the SSH root login should be enabled and the root password 
should be randomly generated and unknown.

If anyone really wants to change the password to something known to 
them libguestfs can be used (e.g. virt-edit) or just boot into single 
user mode, though this should not be necessary as cloud-init should set 
the provided admin password.

My 2 slips of gold-pressed latinum.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


More information about the CentOS-devel mailing list