Re: Understanding 'setuid'

2005-04-26 Thread Declan Moriarty
On 4/26/05, DJ Lucas [EMAIL PROTECTED] wrote: Dan McGhee wrote: Thanks, Andrew. But I asked for good documentation G. Hit google for Unix File Permissions. This will give you about 100 really good hits...maybe add sticky to the search terms to find the ones that have really in-depth

Re: Understanding 'setuid'

2005-04-26 Thread Mike Hernandez
On 4/26/05, Declan Moriarty [EMAIL PROTECTED] wrote: The sticky bit is the fourth permission digit. So you have 4711 instead of 711 for programs that retain the owner's(usually root) permissions. Actually if the sticky bit is set you would have 1711, and if the suid bit is set you get

Re: Understanding 'setuid'

2005-04-26 Thread Simon Geard
On Mon, 2005-04-25 at 06:21 -0500, Dan McGhee wrote: In getting to this point in Linux, I've read many times something to the effect, This needs to be setuid root. And that this means that the sticky bit is set. Beyond that I can't find anything. What does setuid really mean? What

Re: Understanding 'setuid'

2005-04-25 Thread Dan McGhee
Andrew Benton wrote: Dan McGhee wrote: In getting to this point in Linux, I've read many times something to the effect, This needs to be setuid root. And that this means that the sticky bit is set. Beyond that I can't find anything. What does setuid really mean? What exactly does it do?