From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] running batman as non-root
Date: Fri, 14 Sep 2007 16:55:16 +0200 [thread overview]
Message-ID: <200709141655.16137.lindner_marek@yahoo.de> (raw)
In-Reply-To: <46EA5834.6030703@ddmesh.de>
Hi,
> I'm running batman (experimental) on a debian linux as root but want to
> access the debug levels (batmand -c -b -d 1) from within a apache that
> is not running as root.
indeed a problem. As quick fix you could use sudo and allow www-data to access
batmand.
> batman actually checks the user id and does not allow to run as non-root
> users. also when I disable the check, batman can not access the
> /var/run/batman.socket except when I change the access modes from
> command line.
That is why batman checks the user id ...
> Is it possible to also support non root access for batmand -c -b -d 1?
The question is: Do we really want that ? I understand your case but your
solutions implies that other non-privileged could access the daemon.
The "batmand -c" command can do much more than giving you the debug output as
changing the gateway_class / routing_class / preferred gateway and may be
more in the future.
Regards,
Marek
next prev parent reply other threads:[~2007-09-14 14:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 9:45 [B.A.T.M.A.N.] running batman as non-root Freifunk Dresden
2007-09-14 14:55 ` Marek Lindner [this message]
2007-09-20 12:47 ` Freifunk Dresden
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=200709141655.16137.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@open-mesh.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox