Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to setup file executable but unreadable..

Status
Not open for further replies.

h3nd

Programmer
Jul 1, 2006
147
AU
Hi Guys,

as title aboved I wanna set my script like that,

I have tried to setup permission 711, but the thing was
they couldn't even execute it.

Any idea other than encrypt the script ?
 
I remember there is shell scripts compilers. I saw a discution about that here or in the AIX room.

search in those two rooms.
 
You could make it -rwx------ and then only allow people to execute it via sudo.

Annihilannic.
 
How to do that Anni ?

which sudo file should I edit ?

Thx
 
You need to be root to do that... visudo is the command you need. man sudoers to see the syntax.

Annihilannic.
 
What o/s are you using?

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Red hat AS release 3 (Taroon update 8)

Cheers,
 
I can encrypt it but I dont wanna do that if there's any other way of doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top