From owner-freebsd-questions@freebsd.org Thu Nov 12 10:13:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1822A2D146 for ; Thu, 12 Nov 2015 10:13:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B24D119DD for ; Thu, 12 Nov 2015 10:13:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.106.70] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Zwoss-0000Jh-Gu for freebsd-questions@freebsd.org; Thu, 12 Nov 2015 11:13:39 +0100 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id tACADXw3003619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 12 Nov 2015 11:13:33 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id tACADXg5003618 for freebsd-questions@freebsd.org; Thu, 12 Nov 2015 11:13:33 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 12 Nov 2015 11:13:33 +0100 From: Matthias Apitz To: FreeBSD Questions Subject: Re: vpnc && setuid Message-ID: <20151112101333.GA3606@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , FreeBSD Questions References: <20151112093622.GA3261@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.70 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 10:13:42 -0000 El día Thursday, November 12, 2015 a las 10:09:28AM +0000, krad escribió: > whats the perms of /usr/local/etc/vpnc.conf if it exists > > On 12 November 2015 at 09:36, Matthias Apitz wrote: > > > > > Hallo, > > > > I have changed /usr/local/sbin/vpnc to setuid on exec: > > > > # ls -l /usr/local/sbin/vpnc > > -rwsr-xr-x 1 root wheel 105092 10 nov 20:12 /usr/local/sbin/vpnc > > > > but the normal user can't use it, it says: > > > > $ /usr/local/sbin/vpnc > > couldn't open `/usr/local/etc/vpnc.conf': Permission denied # ls -l /usr/local/etc/vpnc.conf -rw------- 1 root wheel 151 12 nov 07:21 /usr/local/etc/vpnc.conf > > > > It is not a mount issue of the file system: > > > > # mount > > /dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates) > > > > What I'm doing wrong? > > > > matthias > > -- > > Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ > > +49-176-38902045 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045 «(über die DDR)... Und allein dieser Mangel (an Sozialismus) und nichts anderes führte zum Tod. Und wer da nicht trauert, hat kein Herz, und wer da nicht neu anpackt, hat auch keins verdient.» «(sobre la RDA)... Y solo esta escasez (de socialismo) y no otra cosa, le llevó a la muerte. Y quien no está de luto, no tiene corazón, y quien no se lanza a luchar de nuevo, no se merece corazón.», junge Welt del 3 de octubre 2015, p. 11