whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (WHIRR-158) Allow users to log into clusters as themselves
Date Tue, 04 Jan 2011 20:23:45 GMT

    [ https://issues.apache.org/jira/browse/WHIRR-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977444#action_12977444
] 

Lars George edited comment on WHIRR-158 at 1/4/11 3:22 PM:
-----------------------------------------------------------

Also, Adrian commented (http://code.google.com/p/jclouds/issues/detail?id=438#c5):

{quote}
should produce something like this:

useradd --shell /bin/bash --create-home adriancole

cat > /etc/sudoers <<EOF
root ALL = (ALL) ALL
%adm ALL = (ALL) ALL
adriancole ALL = (ALL) NOPASSWD: ALL
EOF

chown 440 /etc/sudoers

SSH_HOME=`getent passwd adriancole | cut -d: -f6`/.ssh
mkdir -p $\{SSH_HOME\}

cat > $\{SSH_HOME\}/authorized_keys <<EOF
ssh-rsa....
EOF

chown -R adriancole  $\{SSH_HOME\}
{quote}

      was (Author: larsgeorge):
    Also, Adrian commented (http://code.google.com/p/jclouds/issues/detail?id=438#c5):

{quote}
should produce something like this:

useradd --shell /bin/bash --create-home adriancole

cat > /etc/sudoers <<EOF
root ALL = (ALL) ALL
%adm ALL = (ALL) ALL
adriancole ALL = (ALL) NOPASSWD: ALL
EOF

chown 440 /etc/sudoers

SSH_HOME=`getent passwd adriancole | cut -d: -f6`/.ssh
mkdir -p ${SSH_HOME}

cat > ${SSH_HOME}/authorized_keys <<EOF
ssh-rsa....
EOF

chown -R adriancole  ${SSH_HOME}
{quote}
  
> Allow users to log into clusters as themselves
> ----------------------------------------------
>
>                 Key: WHIRR-158
>                 URL: https://issues.apache.org/jira/browse/WHIRR-158
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core
>            Reporter: Tom White
>            Assignee: Andrei Savu
>
> Currently you have to log on to cloud instances with a particular user name (e.g. ec2-user
on Amazon Linux, root on Ubuntu on rackspace). It would be nice if you could use the same
user as the one that launched the cluster.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message