>Can someone tell me exactly what is the need for the setuid and setgid
>permissions? I'm a little fuzzy on how those two work. I get different
>answers at school, but, I figure, there are alot of guru's out here
>than can help me better understand the concept of setuid permission
>and setgid permission. Thanks.
They're used to change your access rights while you're running the program.
For example, the file /etc/passwd is not writable by ordinary users,
because that would allow any user to change any other user's password. But
you need to be able to modify it when you run the "passwd" program. This
program is setuid to the user that owns the file, so it can write it, and
ensures that you only modify *your* line in the file.
Genuity Managed Services, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.