Skip to content

Instantly share code, notes, and snippets.

@nakomis
Created July 21, 2020 10:44
Show Gist options
  • Save nakomis/7c42cb50cda5a6d06cab308902ac7e44 to your computer and use it in GitHub Desktop.
Save nakomis/7c42cb50cda5a6d06cab308902ac7e44 to your computer and use it in GitHub Desktop.
fixtmp
for i in {101..105}; do
sudo ssh -i /home/amp/.ssh/id_rsa amp@192.168.56.$i "sudo sed -i.bk 's/strictatime,noexec/strictatime/g' /etc/systemd/system/tmp.mount; sudo mount -o remount,exec /tmp"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment