Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!nntp-server.caltech.edu!madler From: madler@nntp-server.caltech.edu (Mark Adler) Newsgroups: comp.sys.next Subject: Re: modem setup Message-ID: <1991Mar27.070424.28119@nntp-server.caltech.edu> Date: 27 Mar 91 07:04:24 GMT References: Organization: California Institute of Technology, Pasadena Lines: 16 In article Garance_Drosehn@mts.rpi.edu writes: >First thing I missed is that the serial port devices (/dev/cua and /dev/cub) >were permitted in such a way that I couldn't access them from the account I was >using. I "su root"-ed and did a few chmod's to clear that up. Originally, I also chmod'ed the /dev/cua and /dev/cub devices, but I don't think that's the kosher way to do it. What I did instead is leave the permissions on /dev/cu* the same, but made the owner of kermit uucp (chown uucp kermit), and then gave kermit the privileges of its owner (chmod u+s kermit). Kermit has code in it to prevent these privileges from applying to files that are read or written. That is how cu and tip can access /dev/cu* (though their owner is root, but that's not necessary). Mark Adler madler@pooh.caltech.edu