Commit 2f04fe5b authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

fix permissions on /var/alternc for master setups

parent c0a7de7a
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment