[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

suid / sgid detail question


If I suid a program that owned by user "non-root" and and "normal-user"
starts it...

... whose ENV does it get?
... whose groups does it get? All of them or just the primary group?

Now, if I additionally sgid it to "some-group", does it get...

... only "some-group"?
... "some group" + the calling user's group?
... "some group" + the suid user's groups?



Reply to: