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