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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -