diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-06-17 10:44:22 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-06-17 10:44:22 -0400 |
commit | 94a1a2ff1a1408a4c4b70ed5cb5059c5ff6f2b8b (patch) | |
tree | aa911d9538aece15e6334525e24fc2d5b6ea0c49 /tools | |
parent | 2cec6a2ccaf8541d710f07de2c3db16a36cbdc9e (diff) | |
download | vyos-cloud-init-94a1a2ff1a1408a4c4b70ed5cb5059c5ff6f2b8b.tar.gz vyos-cloud-init-94a1a2ff1a1408a4c4b70ed5cb5059c5ff6f2b8b.zip |
change, and make configurable the prefix for entries in root authorized_keys
This makes the prefix for entries added to root's authorized keys
configurable. Previously, the value was:
command="echo 'Please login as the user \"ubuntu\" rather than the user \"root\".\';echo;sleep 10\""
Now, at is configurable in cloud.cfg or user data by setting
'root_disabled_opts'.
Additionally, the default has been changed to include
'no-port-forwarding,no-agent-forwarding,no-X11-forwarding'
See LP: #798505 for more information on that.
Note, that 'no-pty' was *not* added to this list as adding it means the
user who simply does 'ssh root@host' gets a "cannot allocate pty" message
rather than seeing warning about using root.
LP: #798505
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions