I have a script called 'Linux.sh'. This script should be executed by every one . it should prompt for password when some one edit it . I have tried by using ' vi -x linux.sh ' to password protect the file but I am not able to execute it. Is there any other solution for this scenario.
Note: this script should be executed remotely from windows box using utilities like mobaxterm