ssh connection to disabled root user exits with zero code
Bug #1170059 reported by
Ilya Sher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Low
|
Unassigned |
Bug Description
cloudinit/
This gives zero exit code. Automated tools (like parallel-ssh) are mislead. Probably should be:
cloudinit/
summary: |
- ssh connection to diabled root user exits with zero code + ssh connection to disabled root user exits with zero code |
Changed in cloud-init: | |
assignee: | nobody → Vladimir Novikov (vnovikov) |
Changed in cloud-init: | |
assignee: | Vladimir Novikov (vnovikov) → Johnson Shi (johnsonshi) |
status: | Triaged → In Progress |
Changed in cloud-init: | |
assignee: | Johnson Shi (johnsonshi) → nobody |
To post a comment you must log in.
Thats an interesting suggestion.
I don't think there'd be any significant fallout of changing that in trunk.
fwiw, it is ocnfigurable, by setting 'disable_root_opts' forwarding, no-agent- forwarding, " forwarding, command= \"echo \'Please login as the user \\\"$USER\\\" " \\".\'; echo;sleep 10\"")
default value is:
DISABLE_ROOT_OPTS = ("no-port-
"no-X11-
"rather than the user \\\"root\