On Friday 01 June 2001 16:52, satya kumar wrote:
> Hi All,
> Is there any solution to my problem.What I want is
> that any other user other than me should not be able
> to read the contents of a script file created by
> me.All the other users should be able to only execute
> the script.Is it possible?If yes please help me
> out.Thanks in advance.
> Satya
I guess that's difficult as it is. In order to execute the script, the suer
needs read permissions as well. One way around the problem could be to write
a C program that does the same job. That way it'll be safe in case you are
storing passwords etc in it. You might also try hiding the passwords by
creating it character-by-character in the code at run-time. That way it
doesn't appear with a 'strings'. That - of course is just simple securtiy -
nothing that gdb and a littlt elbow grease might not be able to break ;)
I think there's a shell script encapsulation thingy I had seen some place. It
keeps your actual shell script unreadable and gives you an executable
instead. So casual peeking around the program won't get you anywhere....
-faisal.
--
-====----====----====----====----====----====----====---
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help