Program not running with permission of the owner even though SUID is set
0
votes
0
answers
25
views
I have a program
./prog
that is owned by root and has the SUID bit set.
Permission: -rwsr-sr-x 1 root
Then I check the EUID by geteuid()
but when I run this (as a user), the output EUID is still my user id, rather than root.
What could be the problem?
Asked by Calliastrophile
(1 rep)
May 27, 2024, 02:30 PM
Last activity: May 27, 2024, 02:58 PM
Last activity: May 27, 2024, 02:58 PM