Best Practice for Allowing non-root Users Access to Serial Port?

Chris racerx at makeworld.com
Fri Apr 1 09:21:08 PST 2005


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



More information about the freebsd-questions mailing list