From owner-freebsd-security@FreeBSD.ORG Fri Aug 27 16:39:34 2010 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 404D81065672 for ; Fri, 27 Aug 2010 16:39:34 +0000 (UTC) (envelope-from aldis@bsdroot.lv) Received: from root.bsdroot.lv (mpe-11-155.mpe.lv [83.241.11.155]) by mx1.freebsd.org (Postfix) with ESMTP id 965808FC19 for ; Fri, 27 Aug 2010 16:39:33 +0000 (UTC) Received: from root.bsdroot.lv (root.bsdroot.lv [83.241.11.155]) by root.bsdroot.lv (Postfix) with ESMTP id 7F7893ADF; Fri, 27 Aug 2010 19:20:58 +0300 (EEST) Received: from dekstop.pc (mpe-11-135.mpe.lv [83.241.11.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by root.bsdroot.lv (Postfix) with ESMTPSA id 212683ADD; Fri, 27 Aug 2010 19:20:58 +0300 (EEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: =?utf-8?Q?Istv=C3=A1n?= , "Marian Hettwer" References: <4C77A267.10102@thelostparadise.com> <5d88fc9506514cabc7390e66a1f9872f@localhost> Date: Fri, 27 Aug 2010 19:20:57 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Aldis Berjoza" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.61 (FreeBSD) X-Virus-Scanned: ClamAV using ClamSMTP Cc: vadim_nuclight@mail.ru, freebsd-security@freebsd.org, Andy Kosela , Pieter de Boer Subject: Re: tcpdump -z X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 16:39:34 -0000 On Fri, 27 Aug 2010 17:32:18 +0300, Marian Hettwer wrot= e: > On Fri, 27 Aug 2010 15:27:07 +0100, Istv=C3=A1n wr= ote: > >> Well to be honest i don't see any case when i want to give sudo+tcpdu= mp >> access to any user on my box. And those who are admins/roots anyway t= he = >> "su >> -" just works perfectly and they can run tcpdump. >> > Well, that wasn't an answer to my question or the claim of Andy. > In fact, if you need to give access to some root-only binaries to a > normal user, sudo(8) is the way to go. > With "su -" you would allow full root-access, even though you might > just want to allow specific commands to an unprivileged user. > > so. ehm. no! > In fact, I would suggest to disable root, so that su - doesn't work at= > all. > > ./Marian Ye, and once sudo is broken (somehow, for whatever reason) you have lot'= s = of fun (especially on servers) :D -- = Aldis Berjoza