From owner-freebsd-questions@FreeBSD.ORG Mon May 30 22:24:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CAC816A41C for ; Mon, 30 May 2005 22:24:31 +0000 (GMT) (envelope-from mail@iaindooley.com) Received: from mail27.syd.optusnet.com.au (mail27.syd.optusnet.com.au [211.29.133.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA11943D49 for ; Mon, 30 May 2005 22:24:30 +0000 (GMT) (envelope-from mail@iaindooley.com) Received: from [10.0.1.3] (c220-237-12-31.randw1.nsw.optusnet.com.au [220.237.12.31]) (authenticated bits=0) by mail27.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j4UMOF9Z030124 for ; Tue, 31 May 2005 08:24:29 +1000 Message-ID: <429C217D.3020300@iaindooley.com> Date: Tue, 31 May 2005 08:34:05 +0000 From: Iain Dooley User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050407) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <429B8BAA.6010209@iaindooley.com> <44y89wl8fe.fsf@be-well.ilk.org> In-Reply-To: <44y89wl8fe.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Using serial port as non-root user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 22:24:31 -0000 Lowell Gilbert wrote: > Iain Dooley writes: > > >>hello, i'm running: >> >>iain@piper> uname -a >>FreeBSD piper.iaindooley.com 4.11-STABLE FreeBSD 4.11-STABLE #1: Mon May 30 19:43:26 GMT 2005 iain@piper.iaindooley.com:/usr/obj/usr/src/sys/PIPER i386 >> >>ls -la /dev | grep cuaa0 gives: >> >>crw-rw---- 1 uucp dialer 28, 128 May 30 21:49 cuaa0 >> >>i want to access cuaa0 using cutecom as a non-root user. so i tried: >> >>pw groupmod dialer -m iain >> >>now a groupshow gives me: >> >>iain@piper> pw groupshow dialer >>dialer:*:68:iain >> >>but i still can't successfully open this file when i run cutecom as user 'iain'. if i run as user 'root' it works fine. >> >>what am i missing?? > > > Did user 'iain' log out and back in again after the group file was changed? nope!! that must be it. thanks very much. iain