Re: Privileged write to file
Re: Privileged write to file
- Subject: Re: Privileged write to file
- From: Reed Hedges <email@hidden>
- Date: Wed, 10 Mar 2004 07:21:26 -0500
On Wednesday, March 10, 2004, at 06:37 AM, Sam McCandlish wrote:
I don't really understand the usefulness of setuid root.
If a file is owned by root, then there are only two ways that file can
be changed
1. by a process invoked by root
2. by a process that is "suid root"
setuid gives a program usable by regular users magical root powers.
It's playing with fire in a lot of ways, but sometimes the only way.
The more specialized and short-lived the program, usually the safer.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.