*BSD News Article 2648


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!ogicse!pdxgate!brians@rigel.cs.pdx.edu
From: brians@rigel.cs.pdx.edu (Brian Smith)
Newsgroups: comp.unix.bsd
Subject: Fix for problem with tip in 386BSD
Message-ID: <5940@pdxgate.UUCP>
Date: 28 Jul 92 15:03:07 GMT
Article-I.D.: pdxgate.5940
Sender: news@pdxgate.UUCP
Organization: Portland State University, Portland, OR
Lines: 26

Well, IT WORKS!  I have been waiting for a free UNIX for about 5 or 6
years now, so this is a moment of rejoicing.  The only problem I had
that wasn't my fault was with the tip program.

First, the /etc/remote file needs an alias for the dial2400 entry to
be tip0.  Second, the permissions are wrong.  Tip is suid uucp, but
the locks directory /var/spool/lock is owned by root.  One can either
make the lock directory owned by uucp (I think this is the better idea)
or one can make the tip program be set *group*  id.  The lock is the
same group id (wheels) as tip.

Now, I said that I think that making the lock directory owned by uucp
is the better idea, but that is only theoretically.  I don't know if that
would break any programs (I have been malformed by early system administration
exposure to System V, shudder).  So, I then recommend that newbies such as
myself make tip sgid.  If you don't know what I mean, then:
	chmod 2540 /usr/bin/tip

Brian Smith


/---------------------------------------|------------------------------------\
| #include <std/disclaim.h>             | Inet: brians@cs.pdx.edu           |
|---------------------------------------|------------------------------------|
| Behold the warranty.. the bold print giveth and the fine print taketh away.|
\----------------------------------------------------------------------------/