Re: [PATCH] udev-acl: handle "dialout" devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 14, 2011 at 6:44 PM, Marco d'Itri <md@xxxxxxxx> wrote:
> On Jul 14, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>> First I think that is only interesting to administrators of servers
>> and largescale installations, is that right? It does only create
>
> No, it is interesting to owners of any host connected to a modem which
> can be compromised to allow execution of arbitrary code.

.. just like they should be worried of same black hats connecting
to their iPoD and stealing their soundfiles (which may be recordings
of sensitive meetings), so we should stop using udev-acl for these
too, and mandate that everyone create a GROUP="mediaplayer"
as well?

I'd argue that there are soon more people using their serial port
for most other things than modems than there are people
doing that soon or already now.

But who knows...

I know users of most other operating systems are able to use
their serial ports without administering themselves into a "dialout"
group, but they can of course be wrong.

>> obstacles for a home desktop user that s/he cannot use a modem
>> with a default install of the OS.
>
> So ask your favourite distribution to add by default to the dialout
> group the user created at install time.

Yeah next patch set is about helping distros with that by adding
the necessary ID_EXTERNAL_PORT and ID_MODEM environment
variables so they can easily do that.

>> tty[A-Z]*[0-9] and ircomm[0-9]* has nothing implicit in their
>> drivers that tells you there is a modem on the other side.
>
> Serial modems are like this, sometimes you cannot detect them.

Can you ever do it? According to some sources Windows
sends "ATI0" to external ports to detect modems, but I guess it's
after manually requesting some "Wizard" program to look for
modems...

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux