Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2005 11:20:58 -0600
From:      Chris <racerx@makeworld.com>
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:  <424D82FA.3030405@makeworld.com>
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
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.
>  
>
One way (don't know how safe) is to allow access via sudo - have a look 
at the sudo conf file in /usr/local/etc/sudoers

-- 
Best regards,
Chris

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363



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