Mailinglist Archive: opensuse-security (26 mails)

< Previous Next >
Re: [opensuse-security] ACLs, HAL and serial devices (was: HAL and serial devices)
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Tue, 19 Aug 2008 10:08:17 +0200
  • Message-id: <200808191008.17827.ludwig.nussel@xxxxxxx>
Jan Ritzerfeld wrote:
inspired by the thread "Want to could use /dev/ttyS0 as user" on the
opensuse-factory maling list, I tried to figure out whether access
to /dev/ttyS0 can be granted by HAL/resmgr (since this works fine with the
alsa devices). According to /etc/hal/fdi/policy/90osvendor/80-resmgr.fdi,
access to serial devices should be granted to "members" of the resmgr modem
class (desktop users are not "member" of this class by default).

See /usr/share/doc/packages/resmgr/README, section
"How do I grant users permanent access to serial ports like ttyS0, ttyACM0?"

But using 10.3, I cannot even find any serial device via HAL:
jan@karl:~> hal-find-by-capability --capability serial
jan@karl:~>
Obviously, udev recognizes my /dev/ttyS0:
jan@karl:~> udevinfo --query=all --name=/dev/ttyS0
P: /devices/platform/serial8250/tty/ttyS0
N: ttyS0

That's weird. Normally hal should list that port indeed.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-security+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-security+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups