Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 08:34:05 +0000
From:      Iain Dooley <mail@iaindooley.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Using serial port as non-root user
Message-ID:  <429C217D.3020300@iaindooley.com>
In-Reply-To: <44y89wl8fe.fsf@be-well.ilk.org>
References:  <429B8BAA.6010209@iaindooley.com> <44y89wl8fe.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Lowell Gilbert wrote:
> Iain Dooley <mail@iaindooley.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429C217D.3020300>