Re: ACL on /dev nodes (systemd, lightdm)

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



> With systemd running, it's responsible for setting the ACLs on the devices.
> Try "systemd-loginctl list-sessions" and "systemd-loginctl
> show-session X" (with X=session number). Your X11 session should be
> active.

Thanks for the hint.

it didn't return any session, so in `/etc/pam.d/lightdm` I added::

	session         required        pam_systemd.so

and now all is good.

Results posted below for completeness::


$ systemd-loginctl
   SESSION        UID USER             SEAT
        c2       1000 damjan           seat0


$ systemd-loginctl show-session c2
Id=c2
Name=damjan
Timestamp=Fri, 02 Dec 2011 21:36:34 +0100
TimestampMonotonic=8036244211
ControlGroupPath=/user/damjan/c2
VTNr=7
Display=:0
Remote=no
Service=lightdm
Leader=447
Audit=0
Type=x11
Active=yes
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0


$ getfacl /dev/dri/card0
getfacl: Removing leading '/' from absolute path names
# file: dev/dri/card0
# owner: root
# group: video
user::rw-
user:damjan:rw-
group::rw-
mask::rw-
other::---



-- 
дамјан


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux