Hard Links between UNIX Utility Programs

Bill "Spam Eggs Sausage and Spam" Wisner wisner at killer.DALLAS.TX.US
Wed Jul 27 16:49:47 AEST 1988


Bad example. Even if you completely wipe out the ability to run sendmail
as "mailq," you can still run it as "sendmail -bp".

And links, hard or soft, aren't the only way. How's this:

main()
{
  execl("/usr/lib/sendmail","mailq",0);
}
-- 
Bill Wisner / wisner at killer.dallas.tx.us / +1 208 286 7929



More information about the Comp.bugs.4bsd.ucb-fixes mailing list