Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setuid and root

71 views
Skip to first unread message

Lauren@ucla-security

unread,
Jul 3, 1981, 10:32:04 AM7/3/81
to
Has anybody ever decided whether the following is a bug? ...

In at least some versions of V7 Unix, the setuid bit on a program is
ignored if the running user is already uid 0. So, for example, a person
who writes a game program that is setuid to himself will have things
considerably fouled up if root ever tries to run it, since root will
not be changed to that user's id. Apparently setgid DOES take effect
for root, however. Is this a bug or a feature?

--Lauren--
-------


0 new messages