[OpenWrt-Devel] [PATCH] base-files/hotplug: add "dialout" user group and use it for ttyXYZ devices

Michael Heimpold mhei at heimpold.de
Sat Mar 30 13:29:19 PDT 2019


Hi,

> the "tty" group has been introduced exactly for this purpose some time
> ago (1)(2). Any reason why we need "dialout" as well?
> 
> ~ Jo
> 
> 1:
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=5523ee3459a2d3
> 46ad068ce359cdb60dcda1239d 2:
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=124ab1dc0a6235
> 007f60953a796bf29122dfa242

well, it seems that the second commit did not survive (at least in master 
branch)... 
I noticed the "tty" group on OpenWrt but on my desktop system, it has slightly 
different meaning, see https://wiki.debian.org/SystemGroups
So I guessed the meaning is the same on OpenWrt, thus the proposal to add 
"dialout" as well.

You are right, that we don't need a second group to the same purpose. However, 
then I'd propose to rename the group "tty" to "dialout" to prevent other users
to do the same mistake like me, i.e. confuse both groups due to mixing 
knowledge from other distros.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190330/a4ac1574/attachment.sig>


More information about the openwrt-devel mailing list