[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: question on <auth> and .dbus_keyrings
From: Thiago Macieira <thiago.macieira () trolltech ! com>
Date: 2006-06-24 9:10:14
Message-ID: 200606241110.14633.thiago.macieira () trolltech ! com
[Download RAW message or body]
Havoc Pennington wrote:
>session.conf doesn't specify anything special, so gets the default which
>is that either root or the user owning the bus can connect.
The session.conf shipped on CVS doesn't allow root-owned processes to
connect to a user session bus.
The client:
connect(7, {sa_family=AF_FILE, path=@/home/tjmaciei/tmp/dbus-n3KK67UtT5},
37) = 0
write(7, "\0", 1) = 1
write(7, "AUTH EXTERNAL 30\r\n", 18) = 18
read(7, "OK 0a8a904491f154bb4e45d089cd258100\r\n", 2048) = 37
write(7, "BEGIN\r\n", 7) = 7
read(7, "", 2048) = 0
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoReply: No
reply within specified time
The server:
accept(3, {sa_family=AF_FILE, path=@}, [2]) = 10
recvmsg(10, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=0,
msg_flags=0}, 0) = 1
getsockopt(10, SOL_SOCKET, SO_PEERCRED, "\313E\0\0\0\0\0\0\0\0\0\0", [12])
= 0
read(10, "AUTH EXTERNAL 30\r\n", 2048) = 18
write(10, "OK 0a8a904491f154bb4e45d089cd258100\r\n", 37) = 37
read(10, "BEGIN\r\n", 2048) = 7
getuid32() = 500
close(10) = 0
--
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic