fix permissions on /var/alternc for master setups

This commit is contained in:
Antoine Beaupré 2009-08-04 20:16:23 +00:00
parent c0a7de7ae8
commit 2f04fe5beb
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ EOF
echo "Creating alternc account"
adduser --quiet --system --uid 342 --home $ALTERNC_LOC --shell /bin/false --ingroup adm alternc
fi
chown alternc /var/alternc
if [ -r ~root/.ssh/id_dsa.pub ]; then
key=`cat ~root/.ssh/id_dsa.pub`
if ! grep -q "$key" $ALTERNC_LOC/.ssh/authorized_keys ; then