hi,
    parhap you can try to add a sticky bit chmod o+s and chmod g+s
 

Mr.Julien Tan Unix Sysadmin Intel Technology Sdn Bhd Bayan Lepas FIZ Phase 3 Halaman Kg. Jawa 11900 Penang Malaysia
Tel: (604) 642-2222
Direct Tel:(604) 253-6398
Fax : (604) 6441336
http://unix.pg.patch.intel.com/index.asp
*Any doubt please call.

-----Original Message-----
From: cana rich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 10:50 PM
To: [EMAIL PROTECTED]
Subject: HOWTO : permit a user to execute a shell (root is owner) and restric the read

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



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

Reply via email to