On 04/06/2013 08:45 PM, Scott Talbert wrote:
> On Sat, 6 Apr 2013, Phil Dibowitz wrote:
> 
>>> So, I'm assuming this is going to show no permissions for your user.
>>>
>>> It looks like what udev-acl does is that is parses
>>> /var/run/ConsoleKit/database and if it finds an entry in there that
>>> indicates that you are a locally logged in user, it will set r/w
>>> permissions for you on the device.
>>
>> Hmmmmm...
>>
>> [phil@rider ~]$ echo $UID
>> 1000
>> [phil@rider ~]$ grep 1000 /var/run/ConsoleKit/database
>> uid=1000
>> uid=1000
>> uid=1000
>>
>> Or perhaps this is more useful:
>>
>> [phil@rider ~]$ grep -B1 1000 /var/run/ConsoleKit/database
>> [Session /org/freedesktop/ConsoleKit/Session40]
>> uid=1000
>> --
>> [Session /org/freedesktop/ConsoleKit/Session1]
>> uid=1000
>> --
>> session=/org/freedesktop/ConsoleKit/Session1
>> uid=1000
> 
> Probably need to see the rest of those sections where uid=1000.

The third one is SSH, these two would be the only relevant ones.

[Session /org/freedesktop/ConsoleKit/Session1]
uid=1000
seat=/org/freedesktop/ConsoleKit/Seat2
login_session_id=4294967295
x11_display_device=/dev/tty7
x11_display=:0
remote_host_name=
is_active=false
is_local=false
creation_time=2013-02-11T00:22:30.619597Z

[SessionLeader /org/freedesktop/ConsoleKit/Session1]
session=/org/freedesktop/ConsoleKit/Session1
uid=1000
pid=3400
service_name=:1.3

-- 
Phil Dibowitz                             p...@ipom.com
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind."
 - Dr. Seuss


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to