*BSD News Article 69886


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!olivea!hookup!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Permission denied on /dev/cuaa1 using Kermit
Date: 1 Jun 1996 00:38:16 +0100
Organization: Coverform Ltd.
Lines: 33
Message-ID: <4onvt8$mt@anorak.coverform.lan>
References: <rllDrx0tB.HsM@netcom.com> <31A86F8A.1B04@www.play-hookey.com>
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Ken Bigelow (kbigelow@www.play-hookey.com) wrote:
: Richard L. Lamb wrote:
: > 
: > I feel really silly having to ask this, but can't figure it out myself.
: > 
: > I just installed Kermit from the ports collection, but when I try to use
: > it I get "/dev/cuaa1: Permission denied" unless I'm logged in as root.
: > The permissions are:
: > 
: > crw-rw---- 1 uucp  dialer     /dev/cuaa1
: > -r-xr-sr-x 1 bin   dialer     /usr/local/bin/kermit
: > 
: > Now, it's a single user system, so I can work around it by changing cuaa1
: > to mode 666, but is that the "right" way?  And why doesn't the setgid
: > dialer on kermit allow use of the serial port?
: > 

: There's probably a dozen or more ways to do this, but here's one, anyway:

: Edit the /etc/group file, and add your userid to the dialer group. This 
: group has no names in my file, because my site is always up and 
: connected, by running pppd from rc.local. If you have multiple userids 
: for some reason, put them all in the dialer group as a comma-separated 
: list.

: When you reboot, you should have group access to all dialer devices and 
: operations.

Logging out & in again will do the job - no reboot necessary.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....