Re: [ovirt-users] cloud-init root password?

This is a multi-part message in MIME format. ------------MIME-2476814998-964641021-delim Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable On 04/07/2015 11=3A31 AM=2C Michal Skrivanek wrote=3A =3E On Apr 3=2C 2015=2C at 13=3A07 =2C Jorick Astrego =3Cj=2Eastrego=40netb= ulae=2Eeu=3E wrote=3A =3E =3E=3E Hi=2C =3E=3E =3E=3E On 3=2E5=2E2rc3=2C the root password field from cloud-init is missin= g=2E How do I set the root password now for a fresh VM=3F =3E Hi Jorick=2C =3E This was 3=2E5 enhancement to support also non-root users =3E you use username =22root=22 and set a password=3A-=29 =3E =3E Thanks=2C =3E michal I normally deploy through foreman and we have ipa integrated=2C so I haven=27t used it in a while=2E When I use username =22root=22 and set the password=2C how do I add another= normal user then=3F Say I want to add an user account =26 set the root password=2E When I fill= in the username =26 password there is no way to login to the system as this user and gain root access in any way =28sudo is not allowed=29=2E So it could have just remained rootpw as the vm is worthless otherwise or am I missing something=3F Regards=2C Jorick Met vriendelijke groet=2C With kind regards=2C Jorick Astrego Netbulae Virtualization Experts=20 ---------------- =09Tel=3A 053 20 30 270 =09info=40netbulae=2Eeu =09Staalsteden 4-3A =09KvK= 08198180 =09Fax=3A 053 20 30 271 =09www=2Enetbulae=2Eeu =097547 TA Enschede =09BTW= NL821234584B01 ---------------- ------------MIME-2476814998-964641021-delim Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable =3Chtml=3E =3Cbody=3E <br> <br> On 04/07/2015 11:31 AM, Michal Skrivanek wrote: <br> <font color=3D"#000000">> On Apr 3, 2015, at 13:07 , Jorick Astrego <= j.astrego@<a href=3D"mailto:netbulae.eu">netbulae.eu</a>> wrote: </f= ont><br> <font color=3D"#000000">> </font><br> <font color=3D"#000000">>> Hi, </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> 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?= 13;</font><br> <font color=3D"#000000">> Hi Jorick, </font><br> <font color=3D"#000000">> This was 3.5 enhancement to support also non-r= oot users </font><br> <font color=3D"#000000">> you use username "root" and set a pa= ssword:-) </font><br> <font color=3D"#000000">> </font><br> <font color=3D"#000000">> Thanks, </font><br> <font color=3D"#000000">> michal </font><br> <br> I normally deploy through foreman and we have ipa integrated, so I <br> haven't used it in a while. <br> <br> When I use username "root" and set the password, how do I add ano= ther <br> normal user then? <br> <br> Say I want to add an user account & set the root password. When I fill&= #13;<br> in the username & password there is no way to login to the system as= 3;<br> this user and gain root access in any way (sudo is not allowed). <br> <br> So it could have just remained rootpw as the vm is worthless otherwise = <br> or am I missing something? <br> <br> Regards, Jorick <br> <br> <br> <br> <br> <br> = =3CBR /=3E =3CBR /=3E =3Cb style=3D=22color=3A=23604c78=22=3E=3C/b=3E=3Cbr=3E=3Cspan style=3D=22c= olor=3A=23604c78=3B=22=3E=3Cfont color=3D=22000000=22=3E=3Cspan style=3D=22= mso-fareast-language=3Aen-gb=3B=22 lang=3D=22NL=22=3EMet vriendelijke groet= =2C With kind regards=2C=3Cbr=3E=3Cbr=3E=3C/span=3EJorick Astrego=3C/font= =3E=3C/span=3E=3Cb style=3D=22color=3A=23604c78=22=3E=3Cbr=3E=3Cbr=3ENetbul= ae Virtualization Experts =3C/b=3E=3Cbr=3E=3Chr style=3D=22border=3Anone=3B= border-top=3A1px solid =23ccc=3B=22=3E=3Ctable style=3D=22width=3A 522px=22= =3E=3Ctbody=3E=3Ctr=3E=3Ctd style=3D=22width=3A 130px=3Bfont-size=3A 10px= =22=3ETel=3A 053 20 30 270=3C/td=3E =3Ctd style=3D=22width=3A 130px=3Bf= ont-size=3A 10px=22=3Einfo=40netbulae=2Eeu=3C/td=3E =3Ctd style=3D=22wid= th=3A 130px=3Bfont-size=3A 10px=22=3EStaalsteden 4-3A=3C/td=3E =3Ctd sty= le=3D=22width=3A 130px=3Bfont-size=3A 10px=22=3EKvK 08198180=3C/td=3E=3C/tr= =3E=3Ctr=3E =3Ctd style=3D=22width=3A 130px=3Bfont-size=3A 10px=22=3EFax= =3A 053 20 30 271=3C/td=3E =3Ctd style=3D=22width=3A 130px=3Bfont-size= =3A 10px=22=3Ewww=2Enetbulae=2Eeu=3C/td=3E =3Ctd style=3D=22width=3A 130= px=3Bfont-size=3A 10px=22=3E7547 TA Enschede=3C/td=3E =3Ctd style=3D=22w= idth=3A 130px=3Bfont-size=3A 10px=22=3EBTW NL821234584B01=3C/td=3E=3C/tr=3E= =3C/tbody=3E=3C/table=3E=3Cbr=3E=3Chr style=3D=22border=3Anone=3Bborder-top= =3A1px solid =23ccc=3B=22=3E=3CBR /=3E =3C/body=3E =3C/html=3E ------------MIME-2476814998-964641021-delim--

On Apr 7, 2015, at 13:24 , Jorick Astrego <j.astrego@netbulae.eu> wrote:
On 04/07/2015 11:31 AM, Michal Skrivanek wrote:
On Apr 3, 2015, at 13:07 , Jorick Astrego <j.astrego@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.
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@netbulae.eu Staalsteden 4-3A KvK 08198180 Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. ------------MIME-2478409152-1782676014-delim Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable On 04/07/2015 01=3A36 PM=2C Michal Skrivanek wrote=3A =3E On Apr 7=2C 2015=2C at 13=3A24 =2C Jorick Astrego =3Cj=2Eastrego=40netb= ulae=2Eeu=3E wrote=3A =3E =3E=3E =3E=3E On 04/07/2015 11=3A31 AM=2C Michal Skrivanek wrote=3A =3E=3E =3E=3E =3E=3E=3E On Apr 3=2C 2015=2C at 13=3A07 =2C Jorick Astrego =3Cj=2Eastrego= =40netbulae=2Eeu =3E=3E=3E wrote=3A =3E=3E =3E=3E =3E=3E=3E=3E Hi=2C =3E=3E =3E=3E =3E=3E=3E=3E On 3=2E5=2E2rc3=2C the root password field from cloud-init is= missing=2E How do I set the root password now for a fresh VM=3F =3E=3E =3E=3E=3E Hi Jorick=2C =3E=3E =3E=3E=3E This was 3=2E5 enhancement to support also non-root users =3E=3E =3E=3E=3E you use username =22root=22 and set a password=3A-=29 =3E=3E =3E=3E =3E=3E=3E Thanks=2C =3E=3E =3E=3E=3E michal =3E=3E =3E=3E =3E=3E I normally deploy through foreman and we have ipa integrated=2C so I= =3E=3E =3E=3E =3E=3E haven=27t used it in a while=2E =3E=3E =3E=3E =3E=3E =3E=3E When I use username =22root=22 and set the password=2C how do I add= another =3E=3E =3E=3E =3E=3E normal user then=3F =3E you can only define one=2E It=27s not meant to be a guest user manageme= nt tool=2E Ok so IMHO it=27s pretty useless=2E I thought it was comparable to anaconda= where you specify the rootpw and an optional user=2E I expect many call=27s= if we don=27t explain they have to use the username root=2E But we=27re building a custom customer front end anyway so we=27ll just fill in the root user ourselves I guess=2E Let=27s say a customer creates a new vm=2C add=27s a Centos iso to boot fro= m and wishes the add a rootpw and admin user account=2C is there any way to= do this currently=3F =3E=3E =3E=3E =3E=3E Say I want to add an user account =26 set the root password=2E When= I fill =3E=3E =3E=3E =3E=3E in the username =26 password there is no way to login to the system= as =3E=3E =3E=3E =3E=3E this user and gain root access in any way =28sudo is not allowed=29= =2E =3E=3E =3E=3E =3E=3E =3E=3E So it could have just remained rootpw as the vm is worthless otherwi= se =3E=3E =3E=3E =3E=3E or am I missing something=3F =3E it was a specific request for cloud-based images=2E It only makes sense= on templates where you=27ve already initialized root or sudo =3E If I create templates with initialized root or sudo=2C I wouldn=27t have an= y need to use cloud init to add another user=2E I could have done that in the template as well=2E Also the templates will become single user as it doesn=27t make sense to share the same root with multiple users=2E Met vriendelijke groet=2C With kind regards=2C Jorick Astrego Netbulae Virtualization Experts=20 ---------------- =09Tel=3A 053 20 30 270 =09info=40netbulae=2Eeu =09Staalsteden 4-3A =09KvK= 08198180 =09Fax=3A 053 20 30 271 =09www=2Enetbulae=2Eeu =097547 TA Enschede =09BTW= NL821234584B01 ---------------- ------------MIME-2478409152-1782676014-delim Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable =3Chtml=3E =3Cbody=3E <br> <br> On 04/07/2015 01:36 PM, Michal Skrivanek wrote: <br> <font color=3D"#000000">> On Apr 7, 2015, at 13:24 , Jorick Astrego <= j.astrego@<a href=3D"mailto:netbulae.eu">netbulae.eu</a>> wrote: </f= ont><br> <font color=3D"#000000">> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> On 04/07/2015 11:31 AM, Michal Skrivanek w= rote: </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>> On Apr 3, 2015, at 13:07 , Jorick Astr= ego <j.astrego@<a href=3D"mailto:netbulae.eu">netbulae.eu</a> </font=
<br> <font color=3D"#000000">>>> wrote: </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>>> Hi, </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>>> On 3.5.2rc3, the root password fie= ld from cloud-init is missing. How do I set the root password now for a fre= sh VM? </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>> Hi Jorick, </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>> This was 3.5 enhancement to support al= so non-root users </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>> you use username "root" and = set a password:-) </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>> Thanks, </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>>> michal </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> I normally deploy through foreman and we h= ave ipa integrated, so I </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> haven't used it in a while. </font><br=
<font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> When I use username "root" and s= et the password, how do I add another </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> normal user then? </font><br> <font color=3D"#000000">> you can only define one. It's not meant to be = a guest user management tool. </font><br> <br> Ok so IMHO it's pretty useless. I thought it was comparable to anaconda = ;<br> where you specify the rootpw and an optional user. I expect many call's = ;<br> if we don't explain they have to use the username root. But we're <br> building a custom customer front end anyway so we'll just fill in the <= br> root user ourselves I guess. <br> <br> Let's say a customer creates a new vm, add's a Centos iso to boot from = <br> and wishes the add a rootpw and admin user account, is there any way to = ;<br> do this currently? <br> <br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> Say I want to add an user account & se= t the root password. When I fill </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> in the username & password there is no= way to login to the system as </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> this user and gain root access in any way = (sudo is not allowed). </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> So it could have just remained rootpw as t= he vm is worthless otherwise </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> </font><br> <font color=3D"#000000">>> or am I missing something? </font><br> <font color=3D"#000000">> it was a specific request for cloud-based imag= es. It only makes sense on templates where you've already initialized root = or sudo </font><br> <font color=3D"#000000">> </font><br> <br> If I create templates with initialized root or sudo, I wouldn't have any= 3;<br> need to use cloud init to add another user. I could have done that in <= br> the template as well. Also the templates will become single user as it = <br> doesn't make sense to share the same root with multiple users. <br> <br> <br> <br> = =3CBR /=3E =3CBR /=3E =3Cb style=3D=22color=3A=23604c78=22=3E=3C/b=3E=3Cbr=3E=3Cspan style=3D=22c= olor=3A=23604c78=3B=22=3E=3Cfont color=3D=22000000=22=3E=3Cspan style=3D=22= mso-fareast-language=3Aen-gb=3B=22 lang=3D=22NL=22=3EMet vriendelijke groet= =2C With kind regards=2C=3Cbr=3E=3Cbr=3E=3C/span=3EJorick Astrego=3C/font= =3E=3C/span=3E=3Cb style=3D=22color=3A=23604c78=22=3E=3Cbr=3E=3Cbr=3ENetbul= ae Virtualization Experts =3C/b=3E=3Cbr=3E=3Chr style=3D=22border=3Anone=3B= border-top=3A1px solid =23ccc=3B=22=3E=3Ctable style=3D=22width=3A 522px=22= =3E=3Ctbody=3E=3Ctr=3E=3Ctd style=3D=22width=3A 130px=3Bfont-size=3A 10px= =22=3ETel=3A 053 20 30 270=3C/td=3E =3Ctd style=3D=22width=3A 130px=3Bf= ont-size=3A 10px=22=3Einfo=40netbulae=2Eeu=3C/td=3E =3Ctd style=3D=22wid= th=3A 130px=3Bfont-size=3A 10px=22=3EStaalsteden 4-3A=3C/td=3E =3Ctd sty= le=3D=22width=3A 130px=3Bfont-size=3A 10px=22=3EKvK 08198180=3C/td=3E=3C/tr= =3E=3Ctr=3E =3Ctd style=3D=22width=3A 130px=3Bfont-size=3A 10px=22=3EFax= =3A 053 20 30 271=3C/td=3E =3Ctd style=3D=22width=3A 130px=3Bfont-size= =3A 10px=22=3Ewww=2Enetbulae=2Eeu=3C/td=3E =3Ctd style=3D=22width=3A 130= px=3Bfont-size=3A 10px=22=3E7547 TA Enschede=3C/td=3E =3Ctd style=3D=22w= idth=3A 130px=3Bfont-size=3A 10px=22=3EBTW NL821234584B01=3C/td=3E=3C/tr=3E= =3C/tbody=3E=3C/table=3E=3Cbr=3E=3Chr style=3D=22border=3Anone=3Bborder-top= =3A1px solid =23ccc=3B=22=3E=3CBR /=3E =3C/body=3E =3C/html=3E ------------MIME-2478409152-1782676014-delim--

----- Original Message -----
From: "Michal Skrivanek" <michal.skrivanek@redhat.com> To: "Jorick Astrego" <j.astrego@netbulae.eu> Cc: users@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@netbulae.eu> wrote:
On 04/07/2015 11:31 AM, Michal Skrivanek wrote:
On Apr 3, 2015, at 13:07 , Jorick Astrego <j.astrego@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-us... 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@netbulae.eu Staalsteden 4-3A KvK 08198180 Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Apr 7, 2015, at 13:55 , Simone Tiraboschi <stirabos@redhat.com> wrote:
----- Original Message -----
From: "Michal Skrivanek" <michal.skrivanek@redhat.com> To: "Jorick Astrego" <j.astrego@netbulae.eu> Cc: users@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@netbulae.eu> wrote:
On 04/07/2015 11:31 AM, Michal Skrivanek wrote:
On Apr 3, 2015, at 13:07 , Jorick Astrego <j.astrego@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-us...
sure, this is just GUI limitation there's the custom section where you can do whatever
Michal, are you working with plain password or with salted hashed ones? I had some experiment on hosted-engine with strange results on that.
just plain pwd; with an ugly hack for root Thanks, michal
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@netbulae.eu Staalsteden 4-3A KvK 08198180 Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Jorick Astrego
-
Michal Skrivanek
-
Simone Tiraboschi