Re: Understanding 'setuid'

2005-04-26 Thread Dan McGhee
Simon Geard wrote: 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" r

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? W

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 Declan Moriarty
On 4/26/05, DJ Lucas <[EMAIL PROTECTED]> wrote: > Dan McGhee wrote: > > Thanks, Andrew. But I asked for "good" documentation . > > 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

Re: Understanding 'setuid'

2005-04-25 Thread DJ Lucas
Dan McGhee wrote: > Thanks, Andrew. But I asked for "good" documentation . 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 explanations. -- DJ Lucas -- http://linuxfromscratc

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

Re: Understanding 'setuid'

2005-04-25 Thread Andrew Benton
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? What does it cause

Understanding 'setuid'

2005-04-25 Thread Dan McGhee
One of the reasons I switch to Linux and am now using BLFS is that I wanted to know what was going on in the "bowels" of my PC. The Package-User management system that Matthias Benkmann describes really does this (thanks Matthias) and I really like using it. There are a number of instances in