The UNIX and Linux Forums  

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 -->
  #2 (permalink)  
Old 11-17-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,311
Quote:
How can i make a bash script unreadable to all, including root
This is not possible. Root will always be able to do what it wants. If you work with passwords etc. in there and don't want to have it visible, maybe use md5 encryption with perl or something.

Edit: Or write it in C or Perl and compile it.

Last edited by zaxxon; 11-17-2008 at 08:38 AM.. Reason: Added something