From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 6 09:44:35 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50DE616A41F for ; Tue, 6 Dec 2005 09:44:35 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3134343D60 for ; Tue, 6 Dec 2005 09:44:32 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id jB69iTZm074800; Tue, 6 Dec 2005 11:44:29 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jB69imCA092883; Tue, 6 Dec 2005 11:44:49 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43955D78.4080208@ebs.gr> Date: Tue, 06 Dec 2005 11:44:24 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <4394A53E.1050109@Zahemszky.HU> <4394B211.1080503@savvis.net> <4394C687.9060108@savvis.net> In-Reply-To: <4394C687.9060108@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, =?ISO-8859-1?Q?Zahemszky_G=E1bor?= Subject: Re: [PATCH] Local browsing: permission denied X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 09:44:35 -0000 Maksim Yevmenkin wrote: > Hello, > > please try the attached patch for sdpd(8) daemon. with this patch > sdpd(8) will > > 1) change permission on the control socket, > > 2) check peer's credential > > 3) accept register/remove/change service requests only if peer has > effective user id the same as 'root' user id > > it should be now possible to run 'sdpcontrol -l' as regular user. > > thanks, > max This patch works fine for me on RELENG_6. Thanks, Panagiotis