<div dir="ltr"><br>On Mon, Jan 27, 2014 at 4:42 PM, Karanbir Singh &lt;<a href="mailto:mail-lists@karan.org">mail-lists@karan.org</a>&gt; wrote:<br>&gt;<br>&gt; On 01/27/2014 03:20 PM, Juerg Haefliger wrote:<br>&gt; &gt; I also just realized the sudo doesn&#39;t work for the cloud-user. It asks<br>
&gt; &gt; for a password. Need to dig around some more.<br>&gt;<br>&gt; I am still quite keen to have root as the default user to login as.. Can<br>&gt; we have a middle ground where people are able to establsih the<br>&gt; requirement for the cloud-user in the metadata for the instance and let<br>
&gt; cloud-init then do the adduser + append to sudoers ? otherwise, it just<br>&gt; falls back to using the root user and injecting key there.<br><br>Quite frankly I&#39;m not crazy about using &#39;root&#39; as the default user. I consider it a convenience if there&#39;s a non-root default user, otherwise I&#39;d always have to create one myself after logging into an instance. If we want to follow the other distros (ubuntu, fedora), we&#39;d choose &#39;centos&#39; as the default user. &#39;cloud-user&#39; is a little Amazon&#39;ish, but I&#39;m biased here :-)<div>
<br></div><div>With OpenStack, you can always override cloud-init&#39;s behaviour by supplying custom user-data but we should pick a default that makes most sense to users switching from other distros. And in OpenStack&#39;s case I would claim that this is &#39;centos&#39;.<br>
<div><br></div><div>...Juerg</div><div><br><br>&gt; Regards<br>&gt;<br>&gt; --<br>&gt; Karanbir Singh<br>&gt; +44-207-0999389 | <a href="http://www.karan.org/">http://www.karan.org/</a> | <a href="http://twitter.com/kbsingh">twitter.com/kbsingh</a><br>
&gt; GnuPG Key : <a href="http://www.karan.org/publickey.asc">http://www.karan.org/publickey.asc</a><br>&gt; _______________________________________________<br>&gt; CentOS-devel mailing list<br>&gt; <a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-devel">http://lists.centos.org/mailman/listinfo/centos-devel</a></div></div></div>