Code: echo "password" | sudo ... That doesn't seem like a smart idea to me... You'd basically be giving away your password to anyone who can view this script (like a read-only /home/user folder).
Code: echo "password" | sudo ... That doesn't seem like a smart idea to me... You'd basically be giving away your password to anyone who can view this script (like a read-only /home/user folder).