Date: Fri, 01 Apr 2005 13:12:06 -0600 From: Martin McCormick <martin@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: Re: Best Practice for Allowing non-root Users Access to Serial Port? Message-ID: <200504011912.j31JC69S047762@dc.cis.okstate.edu>
next in thread | raw e-mail | index | archive | help
My thanks to all who have responded with this and similar recommendations: Roland Smith writes: >Making kermit users members of a group, and have that group own >/dev/cuaa* with read/write privileges seems like a good idea. > >For instance, create a group "kermit" with 'pw groupadd kermit'. Then >you can use devfs(8) to change the ownership and permissions of the >relevant device: "devfs rule add path 'cuaa*' mode 0660 group >kermit". This setting will not survive a reboot, so you'll have to add the >following to /etc/devfs.rules: "add path 'cuaa*' mode 0660 group kermit". > >Now add the relevant users to the group kermit: >'pw groupmod kermit -m foo,bar,baz' > >Roland
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504011912.j31JC69S047762>