Can user A kill any root process that's seteuid(A)?
Can user A kill any root process that's seteuid(A)?
- Subject: Can user A kill any root process that's seteuid(A)?
- From: Dan Bernstein <email@hidden>
- Date: Wed, 20 Apr 2005 01:29:48 +0300
Hi,
I hope the following is not too off-topic for darwin-dev.
It seems to be possible for user A to kill -9 a process whose saved
set-user-ID is 0 (root) and effective user ID is A's.
Is there any way for a process to avoid getting killed like that when
doing, say, a seteuid(A)-fopen()-seteuid(0) sequence to access a file
under A's permissions (like pppd does with ~/.ppprc)?
Thanks,
-- Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden