Skip to content

Root logins on non-EC2 instances

Compare
Choose a tag to compare
@samuelson samuelson released this 12 Nov 21:59
· 560 commits to master since this release

The root login and password login parameters are defaulted to "no" in the SSH module. For EC2 instances, this is a good idea, but it can cause issues in the classroom.

This adds conditional logic so that if the instance is running in EC2 it keeps those restrictions and if it's not in EC2 it allows root login and password login for everyone.