Hard Links between UNIX Utility Programs

John C. Sucilla jcs at tarkus.UUCP
Sat Jul 30 11:41:54 AEST 1988


In article <185 at chip.UUCP> mparker at chip.UUCP (M. D. Parker) writes:
>First try.  Make another copy of /usr/ucb/sendmail and call it /usr/ucb/mailq.
>Programs no longer have HARD LINKs and can be protected individually.
>Complication here, if a user creates a SYMBOLIC LINK to the program as:
>	ln -s /usr/lib/sendmail mailq

How about changing the mode to rwx--x--x (711) so they can't copy it
or create new links but can still execute it?  Or do these "symbolic links"
let you get around permissions?  I don't know, I know 0 about symbolic links
but I've got a sneaking suspicion it's part of BSD UNIX.




-- 
John "C". Sucilla,  A silicon based life form.
       {att,chinet,ddsw1}!tarkus!jcs
  You have a better idea? Now's the time..



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