Bug 719377 - Documentation::: Guests built for VMware allow ssh as root with default password
Summary: Documentation::: Guests built for VMware allow ssh as root with default password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: Documentation
Version: 0.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Justin Clift
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-06 16:05 UTC by wes hayutin
Modified: 2015-07-13 04:35 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 718226
Environment:
Last Closed:


Attachments (Terms of Use)

Description wes hayutin 2011-07-06 16:05:45 UTC
Need to document in the release notes how passwords should be used for rhevm templates


+++ This bug was initially created as a clone of Bug #718226 +++

Description of problem:
I've just coerced a guest to build and launch on vSphere. No ssh keypair is present, and I was able to ssh in as root with the default 'ozrootpw' password. In theory the user can override this in the template, but if they don't, minting VM images with a predictable root password will be a security risk.


Version-Release number of selected component (if applicable):
imagefactory-0.2.2-1.el6.noarch

How reproducible:
100%

Expected results:
Guests are not launched with a publicly-known root password.

--- Additional comment from clalance on 2011-07-01 11:46:48 EDT ---

So the thing is that Oz already has the ability to set the root password at build time, via the <rootpw> tag (see the RelaxNG schema for the right placement).  I'm thinking that we should "enforce" this tag at the imagefactory level by not accepting builds unless they have this tag set.  That will at least make sure that builds coming from the factory aren't insecure by default.

Chris Lalancette

--- Additional comment from whayutin on 2011-07-06 12:02:46 EDT ---

sounds like a doc issue for beta release notes

Comment 1 wes hayutin 2011-08-01 19:14:05 UTC
BZ 719377 - Guests built for VMware/rhevm allow ssh as root with default password
Users should specify the root password when building templates for rhevm or vmware:

Comment 2 wes hayutin 2011-08-01 19:49:00 UTC
removing from tracker

Comment 3 wes hayutin 2011-08-01 20:01:34 UTC
release pending...

Comment 4 wes hayutin 2011-08-01 20:01:56 UTC
release pending...

Comment 5 wes hayutin 2011-08-01 20:02:10 UTC
release pending.. 2

Comment 7 wes hayutin 2011-12-08 14:03:46 UTC
closing out old bugs

Comment 8 wes hayutin 2011-12-08 14:15:20 UTC
perm close


Note You need to log in before you can comment on or make changes to this bug.