Tip problem - (nf)

pedz at smu.UUCP pedz at smu.UUCP
Tue Jul 24 14:19:00 AEST 1984


#N:smu:18500014:000:1094
smu!pedz    Jul 10 23:19:00 1984

I have a small question to ask about tip and uucp.  With our uucp, the
/usr/spool/uucp directory is suppose to be writeable only by the owner
which is uucp.  uucp sets the suid bit and is thus able to write into
the directory.  In particular, the lock files.  Tip tries to simulate
this by also setting the suid bit (and is owned by uucp) and is able
to create a lock file.  The problem is that tip then "drops" the uucp
status by setting the uid equal to the real uid.  This must be done
both from the standpoint of convenience and security.  The problem
is when tip finishes, it no longer has a uid of uucp and therefor
can not remove the lock file.

I can think of several ways to get around this problem.  One is to
move the lock files into a different directory.  The option of making
the /usr/spool/uucp writable by all is not a wise choice since any
person can destroy everything in that directory (which happened just
recently).  Has this problem been solved before?  Is it possible to
regain the status of running like uucp?

Thank you for any help you can give.
Perry
convex!smu!pedz



More information about the Comp.unix mailing list