How To Write a Setuid Program
Matt Bishop · 2001
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 dif�cult programs to write. This paper discusses how to write these programs to make using them to compromise a UNIX system as dif�cult as possible.