fix permissions on /var/alternc for master setups
This commit is contained in:
parent
c0a7de7ae8
commit
2f04fe5beb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue