All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] permissions to set local name
Date: Sun, 19 Nov 2006 13:47:51 +0100	[thread overview]
Message-ID: <1163940471.11790.2.camel@localhost> (raw)
In-Reply-To: <b5dccebe0611190350p4801a631m3cca5cc0b5c9abb3@mail.gmail.com>

Hi Mikael,

> I've noticed that only the superuser may perform some hci commands,
> such as OCF_WRITE_LOCAL_NAME and OCF_WRITE_INQUIRY_MODE. How can I
> grant privileges for other users to perform those commands?
> 
> The problem is that I have an application that needs to set those
> paramaters, but I don't want to run the application as root. 

the inquiry mode should never be set by an application. It is up to hcid
to pick the best inquiry mode.

The local name can be set via the D-Bus interface and no root privileges
are needed.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-11-19 12:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19 11:50 [Bluez-users] permissions to set local name Mikael Lindqvist
2006-11-19 12:47 ` Marcel Holtmann [this message]
2006-11-20  8:31   ` Mikael Lindqvist
2006-11-20  8:43     ` Marcel Holtmann
2006-11-21  9:14       ` Mikael Lindqvist
2006-11-21  9:17         ` Marcel Holtmann
2006-11-21  9:36           ` Mikael Lindqvist
2006-11-21 11:10             ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1163940471.11790.2.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.