how to enable direct root login without changing the image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> We also should strongly document (release notes and on get fedora page) that
> userdata can be used to change the default, and I've long had a

And, FTR, that is:

Put this in the user-data script in EC2 or Openstack

#cloud-config
disable_root: 0

The first line is identifying the userdata type, not a comment.

The above will put the ssh key in both the root account and in the default
user account (whatever it is named).

If you also want to suppress the creation of the default non-root account,
add a line that just says "users:". Like this:

#cloud-config
users:
disable_root: 0

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm@xxxxxxxxxxxxxxxxx>
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux