Moved home directories to /var/lib/foodoor
This commit is contained in:
parent
2425380a23
commit
376d8ce115
@ -25,5 +25,6 @@ do
|
|||||||
printf "command=\"/usr/sbin/foodoor.sh ${action}\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding " >> ${outfile}
|
printf "command=\"/usr/sbin/foodoor.sh ${action}\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding " >> ${outfile}
|
||||||
cat "${keyfile}" >> ${outfile}
|
cat "${keyfile}" >> ${outfile}
|
||||||
done
|
done
|
||||||
install -b -S .last -o ${action} -g nogroup -m 0600 ${outfile} /home/${action}/.ssh/authorized_keys
|
install -d -o ${action} -g nogroup -m 0700 /var/lib/foodoor/${action}/.ssh
|
||||||
|
install -b -S .last -o ${action} -g nogroup -m 0600 ${outfile} /var/lib/foodoor/${action}/.ssh/authorized_keys
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user