Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix permissions for .ssh on the nc.
Browse files Browse the repository at this point in the history
  • Loading branch information
decker committed Nov 5, 2009
1 parent 9f9feb9 commit 2a6e078
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions debian/eucalyptus-nc.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ then
then
touch "$EUCA_HOME/.ssh/authorized_keys"
fi
DO_SUDO="$DO_UBUNTU`grep "^eucalyptus" /etc/sudoers`"
if [ -z "$DO_SUDO" ]
then
echo 'eucalyptus ALL=NOPASSWD: /usr/sbin/xm'>> /etc/sudoers;
fi

chown -R eucalyptus.eucalyptus /var/lib/eucalyptus/.ssh

update-rc.d eucalyptus-nc start 99 2 3 4 5 . stop 20 0 1 6 . >/dev/null

Expand Down

0 comments on commit 2a6e078

Please sign in to comment.