Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!news1.oakland.edu!news.concourse.com!braintree!news.sprintlink.net!alfa02.medio.net!netnews.nwnet.net!netnews.cc.wwu.edu!waldorf.cc.wwu.edu!n9410493 From: Jeff Blattman <n9410493@waldorf.cc.wwu.edu> Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: help:dial in modem access Date: Fri, 18 Aug 1995 06:12:51 -0700 Organization: Western Washington University Lines: 35 Message-ID: <Pine.ULT.3.91.950818060631.3595A-100000@waldorf.cc.wwu.edu> References: <Pine.ULT.3.91.950812164426.28581A-100000@scooter.cc.wwu.edu> <40udpk$1h9@lyorn.mdd.comm.mot.com> NNTP-Posting-Host: waldorf.cc.wwu.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <40udpk$1h9@lyorn.mdd.comm.mot.com> On 16 Aug 1995, Duncan Campbell wrote: > Do the following: > > to /etc/gettytab, add the lines > ###Dhu's entries > bidir.384|bidirectional line, DCE locked to 38.4kbps, Hard Flow, 8b,noP:\ .... > You should now be able to execute "tip tty01" and have access to your modem. > You can then set your modem to auto answer by entering > ats0=1&w > > Note that dialin/dialout lines have inherent security problems on a > machine with uncontrolled access. the obvious reason this works is that tip is setuid root. yes, it has unrestricted access to the com port. giving a user access to a serial port by changinging perms on /dev/ttyXX seems less insecure than giving them access to the serial device through a setuid program. my question was: is there anyway to give a user access to a dialout serial line. i am specifically using kermit, and don't want to make kermit setuid. it makes sense to me to set group perms on /dev/ttyXX so 'dialer' can use it, but as i mentioned, something (getty?) alays resets permissions. -- Jeff Blattman Administrative Computing Services n9410493@admcs.wwu.edu Western Washington University Bellingham, WA 98225 (360) 650-7709