How To Write a Setuid Program
- M. Bishop,
“How To Write A Setuid Program,”
pp. 5–11 (Jan./Feb. 1987).
UNIX systems allow certain programs to grant privileges to users temporarily; these are called setuid programs. Because they explicitly violate the protection scheme designed into UNIX, they are among the most difficult programs to write. This paper discusses how to write these programs to make using them to compromise a UNIX system as difficult as possible.
This paper was first published in
Jan./Feb. 1987, by the USENIX Association.
This is the manuscript version.