[ovirt-users] cloud-init root password?
Simone Tiraboschi
stirabos at redhat.com
Tue Apr 7 07:55:32 EDT 2015
----- Original Message -----
> From: "Michal Skrivanek" <michal.skrivanek at redhat.com>
> To: "Jorick Astrego" <j.astrego at netbulae.eu>
> Cc: users at ovirt.org
> Sent: Tuesday, April 7, 2015 1:36:45 PM
> Subject: Re: [ovirt-users] cloud-init root password?
>
>
> On Apr 7, 2015, at 13:24 , Jorick Astrego <j.astrego at netbulae.eu> wrote:
>
> >
> >
> > On 04/07/2015 11:31 AM, Michal Skrivanek wrote:
> >
> >
> > > On Apr 3, 2015, at 13:07 , Jorick Astrego <j.astrego at netbulae.eu
> > > wrote:
> >
> >
> > >
> >
> >
> > >> Hi,
> >
> >
> > >>
> >
> >
> > >> On 3.5.2rc3, the root password field from cloud-init is missing. How do
> > >> I set the root password now for a fresh VM?
> >
> >
> > > Hi Jorick,
> >
> >
> > > This was 3.5 enhancement to support also non-root users
> >
> >
> > > you use username "root" and set a password:-)
> >
> >
> > >
> >
> >
> > > Thanks,
> >
> >
> > > michal
> >
> >
> >
> > I normally deploy through foreman and we have ipa integrated, so I
> >
> >
> > haven't used it in a while.
> >
> >
> >
> > When I use username "root" and set the password, how do I add another
> >
> >
> > normal user then?
>
> you can only define one. It's not meant to be a guest user management tool.
By the way it's not a a cloud-init limit, there you can define more than user:
http://cloudinit.readthedocs.org/en/latest/topics/examples.html#including-users-and-groups
Michal, are you working with plain password or with salted hashed ones?
I had some experiment on hosted-engine with strange results on that.
> > Say I want to add an user account & set the root password. When I fill
> >
> >
> > in the username & password there is no way to login to the system as
> >
> >
> > this user and gain root access in any way (sudo is not allowed).
> >
> >
> >
> > So it could have just remained rootpw as the vm is worthless otherwise
> >
> >
> > or am I missing something?
>
> it was a specific request for cloud-based images. It only makes sense on
> templates where you've already initialized root or sudo
>
> Thanks,
> michal
>
> >
> >
> >
> > Regards, Jorick
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Met vriendelijke groet, With kind regards,
> >
> > Jorick Astrego
> >
> > Netbulae Virtualization Experts
> > Tel: 053 20 30 270 info at netbulae.eu Staalsteden 4-3A KvK 08198180
> > Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list