unix - How to password protect a shell script -
we need password protect shell script
1)opening 2)editing 3)executing.
also know if same can done sudo /root user,i.e root user requires password above said operations .
thanks vivek
another approach compile shell script executable obfuscates strings. (protection "strings" comnmand)
shc shell script compiler, tutorial: http://www.thegeekstuff.com/2012/05/encrypt-bash-shell-script/
i go additionally still kid's idea password well. if compile script becomes human unreadable. means can still have permissions normal users run (now compiled) script. cannot read it.
Comments
Post a Comment