Does anyone know if it is possible to give a user execute permissions on a
file, but not to let them read what is contained within that file?
The case in question is a script with contains some sensitive data
(password) is required to be run by another user, but I don't want them to
see the text in the file. I have searched for information, but only seem to
have turned up details about directories which can be changed to but the
contents cannot be read.
I have tried suid but it still doesn't seem to work.
Any suggestions would be gratefully accepted.