The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-17-2008
bsddaemon's Avatar
bsddaemon bsddaemon is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 37
Quote:
Originally Posted by dave123 View Post
Hello everyone

Im sure this has been asked lots of times before, but after endless searching i cant find what i need.
How can i make a bash script unreadable to all, including root, but still executable, im not worried about editing it again etc... , is there a way to convert it or something, i have tried chmod and chown, but root is still able to view the script, or is not possible.
Thanks in advance for any help.

Dave
Root is your machine's god.

The only thing I can think of is to encrypt your bash file.