From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: MK Date: Wed, 04 Feb 2015 21:06:33 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Subject: [B.A.T.M.A.N.] running alfred as unprivileged user Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Hi list! Alfred daemon runs as user root in our current setup on the gateway. Regarding the faulty buffer size checks and improper use of strcpy in recent history of this software this seems to be a very bad idea. What are the requirements for the user running alfred? Which elevated privileges does alfred really need? Is it possible to drop the privileges after setting up the interface bindings? Thanks, Martin