I hate to be the bearer of bad news, but you cannot execute a file without being able to read it. You have to be able to open the file in order to read the code inside to execute. You might be able to achieve this result by using ACL systems such as www.grsecurity.net, but I doubt it.

ahp

On Tuesday, January 7, 2003, at 09:50 AM, cana rich wrote:

Hello,

    I am using RedHat 7.2. I have a shell (root is the owner) and i would like it to be execatable by others user but not readable by the other users.

ls -l give :

-rwx--x--     1     root     mygroup     5030     jan 06 10:00:01 program1.bsh    

> I have tried : chmod 710 program1.bsh

but when i log in other user(who belong to mygroup) and try to execute the shell i have the message : "Can't open"

Could you help me?

Thanks in advance.

Canarich



<image.tiff>
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

Attachment: PGP.sig
Description: PGP signature

Reply via email to