[ec2-beta] document: EC2 Ubuntu sudo Guide

Eric Hammond ehammond at thinksome.com
Wed Mar 11 12:49:53 GMT 2009


Michael Greenly wrote:
> I guess my request would be a blessed command that enables/disables
> root logins.

The document that started this thread includes a command to circumvent
the Ubuntu security standard and enable root ssh on the current beta2 image:

    sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/

I don't imagine folks who do this are going to want to disable root ssh
subsequently, but that could be done with a command like:

    sudo rm /root/.ssh/authorized_keys

I doubt you're going to get "blessed commands" for these actions.

--
Eric Hammond
ehammond at thinksome.com





More information about the Ec2-beta mailing list