Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2005 12:51:10 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:    Re: Best Practice for Allowing non-root Users Access to Serial Port?
Message-ID:  <20050401185110.GA7808@Grumpy.DynDNS.org>
In-Reply-To: <200504011717.j31HHE9S080897@dc.cis.okstate.edu>
References:  <200504011717.j31HHE9S080897@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 01, 2005 at 11:17:14AM -0600, Martin McCormick wrote:
> 	What is the safest way to let non-root users access
> /dev/ttyd0?  I notice that in FreeBSD, /dev/ttydx is owned by
> root:wheel.  In linux, the ttySx's are in a special group so the trick
> there is to add users to that group and make sure the ttyS's are group
> writable.
> 
> 	Here, I want the users to be able to use C-kermit to talk to a
> remote device without them having to be root.

Add the users to group "dialer" as this is what Kermit needs to create
uucp locks.

Then as others have already stated use /dev/cuaa0, the "call out"
device, rather than ttyd0.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



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