A question on SUID (Set User ID)
Friends,
Suppose root user is setting a file script.sh with SUID permission and allowing others to have execute permissions as follows: Code:
#ls -l /script.sh Code:
#vi /script.sh Code:
#su - normaluser |
I've a feeling SUID doesn't work for shell scripts, only for binary executables.
|
Cantab is correct. Suid isn't supported in Linux for scripts.
|
cantab and jschiwal, thanks for your respnoses.
|
All times are GMT -5. The time now is 03:14 PM. |