bobbybobbertson
Programmer
I'm trying to understand the suid bit. I want a group to be able to run a script with the permissions of the owner.
I have a script called test.pl with the following permissions:
-rwxr-sr-x 1 bob home 45 Dec 4 13:37 test.pl
When I try to run this as jim, I get:
%jim: ./test.pl
Can't do setuid
Why cat jim run this script. Both bob and jim are in the same group 'home'
I have a script called test.pl with the following permissions:
-rwxr-sr-x 1 bob home 45 Dec 4 13:37 test.pl
When I try to run this as jim, I get:
%jim: ./test.pl
Can't do setuid
Why cat jim run this script. Both bob and jim are in the same group 'home'