Re: setuid/setgid technology - OLD and NASTY

Zachary Amsden (amsdenz@aavid.com)
Fri, 17 Jul 1998 14:39:00 -0400


-----Original Message-----
From: Linux Kernel list <linkern@lcjdap.soroscj.ro>
To: Linus Torvalds <torvalds@transmeta.com>; Alan Cox <alan@lxorguk.ukuu.org.uk>; linux-kernel@vger.rutgers.edu <linux-kernel@vger.rutgers.edu>
Date: Friday, July 17, 1998 2:08 PM
Subject: setuid/setgid technology - OLD and NASTY

MY GOD, the Linux-Kernel list has become self aware!!!

> Setuid/setgid technology is an old technology belonging to the
>70's.
>It was pretty confortable at that time but now it's not really actual
>and
>it's more like a pain in the system. It would be possible to replace
>this
>with 'something' - you decide what - in kernel land with something
>really
>secure. It's near year 2000 now. I would love to see Linux get rid of
>this
>kind of ballast.

Won't be getting rid of it without a lot of work. Capabilities are
already supported in 2.1.x, these provide much better isolation of
power than setuid/setgid. However, all setuid root software needs
to be recoded to use caps, and to use them safely. While that is
being done, maybe buffer overflows could be fixed too. Hint - recompile libc so that strcpy, (v)sprintf, gets, and friends become _strcpy, etc.
Then try to rebuild your source tree.

Zachary Amsden
amsden@andrew.cmu.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html