Created
July 21, 2020 10:44
-
-
Save nakomis/7c42cb50cda5a6d06cab308902ac7e44 to your computer and use it in GitHub Desktop.
fixtmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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