2007-09-20 11:35:29

by Pedro Martin

[permalink] [raw]
Subject: [Bluez-users] Permission denied: hcitools

Hi list,

Sorry if the topic has been aswered, but I have not found it in the
bluez-users archives.

When trying some hcitools, I am unable to use them but being root. I want to
run them as a "normal" user.

Is there any group the user needs to belong to or any other way to have
privileges on hcitools, hcidump, l2ping, etc?

Thank you beforehand,

Pedro.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2007-09-21 08:44:48

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Permission denied: hcitools

Hi Pedro,

> Sorry if the topic has been aswered, but I have not found it in the
> bluez-users archives.
>
> When trying some hcitools, I am unable to use them but being root. I want to
> run them as a "normal" user.
>
> Is there any group the user needs to belong to or any other way to have
> privileges on hcitools, hcidump, l2ping, etc?

if you don't wanna use them as root, then don't use them at all. It is
really as simple as that. The new D-Bus based interface should be used
anyway.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-09-20 13:44:02

by Niv

[permalink] [raw]
Subject: Re: [Bluez-users] Permission denied: hcitools

use http://www.gratisoft.us/sudo/man/sudo.html

On Thu, 20 Sep 2007 13:35:29 +0200, "Pedro Martin" <[email protected]>
said:
> Hi list,
>
> Sorry if the topic has been aswered, but I have not found it in the
> bluez-users archives.
>
> When trying some hcitools, I am unable to use them but being root. I
> want to
> run them as a "normal" user.
>
> Is there any group the user needs to belong to or any other way to have
> privileges on hcitools, hcidump, l2ping, etc?
>
> Thank you beforehand,
>
> Pedro.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
--
Niv Wiser
[email protected]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users