Commit 08a7cabf authored by Simone Piccardi's avatar Simone Piccardi
Browse files

Re-enforce root ownership of the .ssh directory.

parent 0cb6a696
......@@ -156,6 +156,7 @@ clusterVar="$(cat $computerList | grep "$macAddress" | awk '{print $5}')"
if [ "$joinVar" == "join" ];then
rsync -a /home/partimag/.ssh/ $mountPoint/root/.ssh/
cp /root/.ssh/known_hosts $mountPoint/root/.ssh/known_hosts
chown -r root.root $mountPoint/root/.ssh/
cp /home/partimag/clientScripts/rc.local $mountPoint/etc/
chmod 770 $mountPoint/etc/rc.local
cp /home/partimag/clientScripts/clientScript $mountPoint/root/
......
Markdown is supported
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