question on <auth> and .dbus_keyrings
Thiago Macieira
thiago.macieira at trolltech.com
Sat Jun 24 02:10:14 PDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060624/0e6cdcb2/attachment.pgp
More information about the dbus
mailing list