![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to do file locking? | yang | UNIX for Dummies Questions & Answers | 2 | 07-29-2008 12:32 PM |
| Locking in Unix? | nguoidoius | UNIX for Dummies Questions & Answers | 1 | 01-24-2008 01:50 AM |
| locking problem | venkatramana | UNIX for Dummies Questions & Answers | 1 | 12-24-2007 03:10 PM |
| Locking a file in ksh | thanuman | UNIX for Dummies Questions & Answers | 1 | 04-27-2005 11:01 AM |
| File Locking | penfold | UNIX for Advanced & Expert Users | 1 | 04-11-2005 12:47 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Locking a script
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 |
|
|||||
|
Quote:
The only thing I can think of is to encrypt your bash file. |
|
||||
|
Thanks guys,
is it possible to encrypt passwords in the script, i know that when i make a kickstart file, it gives the option to encrypt the password, and its unreadable but still usable, not that im wording this very well, but hopefully you get what i mean. Thanks Dave |
|
||||
|
Okay i found one way with rot13
Say your script is called "script.sh". You can "encrypt" it with: Quote:
Quote:
Quote:
I am trying to work out another way with md5 which would be better i think! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|