On Tue, 7 Jan 2003, Burke, Thomas G. wrote: > I have some script shell (belong to root). I would like it to be > executable by every users but i don't want it to be readable by others > users.
Can't be done directly. A shell script *must* be readable (and *can* be executable), since it's interpreted by the shell. If you absolutely must do this, though, you can create a wrapper script that's SUID to an account with permissions to run the "secret" script, but SUID scripts harbor their own dangers. -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list