From owner-freebsd-questions@freebsd.org Thu Nov 12 10:19: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 41B78A2D27D for ; Thu, 12 Nov 2015 10:19:41 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D11691C95 for ; Thu, 12 Nov 2015 10:19:40 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wmww144 with SMTP id w144so81399382wmw.0 for ; Thu, 12 Nov 2015 02:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/hN00RFGcW0NhJS26rVYI5w8ZjxUX/pTHB+Q61VjAV0=; b=B1Fn5zh3E7mQazGrvT5S8lNTllsVBeTT76rVEGbz9VXEo2N+oj46q0JJ84vxpRUQ71 KmqCHLBWYe++cJu/+0qvJD8gBK/Qdz26uiM0huvMzZ387TmrUobWTrb/1Ww1eQs5EkQH 8yvfx7jpH4aXxANQ7/p+bav7pfKxg0P17d9QuLGqFHgTJY9T8PmSMxtiqzfGpKfqw3ec Q6YWfWZ1ioimjrh7lFUw1xV64Q8iSQqvTqAzKLgp3RoLUMhboDLQG/1w0JL7AfW6cUJd 7kBBiLBHXjZJ2DWZ8fhNaTqLqsLHlaE+9DDZPU5q74YGQ3dihgN84neLS+QsBrODB2hg 8XgA== MIME-Version: 1.0 X-Received: by 10.28.47.8 with SMTP id v8mr29073443wmv.30.1447323578943; Thu, 12 Nov 2015 02:19:38 -0800 (PST) Received: by 10.28.181.213 with HTTP; Thu, 12 Nov 2015 02:19:38 -0800 (PST) In-Reply-To: <20151112101333.GA3606@c720-r276659> References: <20151112093622.GA3261@c720-r276659> <20151112101333.GA3606@c720-r276659> Date: Thu, 12 Nov 2015 10:19:38 +0000 Message-ID: Subject: Re: vpnc && setuid From: krad To: Matthias Apitz , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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:19:41 -0000 Looks like you need to 640 or 644 it. On 12 November 2015 at 10:13, Matthias Apitz wrote: > El d=C3=ADa Thursday, November 12, 2015 a las 10:09:28AM +0000, krad escr= ibi=C3=B3: > > > 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, =E2=9C=89 guru@unixarea.de, =F0=9F=8C=90 http://www.u= nixarea.de/ =E2=98=8E > > > +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, =E2=9C=89 guru@unixarea.de, =F0=9F=8C=90 http://www.unixa= rea.de/ =E2=98=8E > +49-176-38902045 > =C2=AB(=C3=BCber die DDR)... Und allein dieser Mangel (an Sozialismus) un= d nichts > anderes f=C3=BChrte zum Tod. > Und wer da nicht trauert, hat kein Herz, und wer da nicht neu anpackt, ha= t > auch keins verdient.=C2=BB > =C2=AB(sobre la RDA)... Y solo esta escasez (de socialismo) y no otra cos= a, le > llev=C3=B3 a la muerte. > Y quien no est=C3=A1 de luto, no tiene coraz=C3=B3n, y quien no se lanza = a luchar de > nuevo, no se merece > coraz=C3=B3n.=C2=BB, junge Welt del 3 de octubre 2015, p. 11 > _______________________________________________ > 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" >