From owner-freebsd-questions@freebsd.org Thu Nov 12 10:09:30 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 C874CA2BE88 for ; Thu, 12 Nov 2015 10:09:30 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 774A71378 for ; Thu, 12 Nov 2015 10:09:30 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wmww144 with SMTP id w144so193466138wmw.1 for ; Thu, 12 Nov 2015 02:09:29 -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=KvfAcVgd2I/UGjILb55peYGRdljdkYmSeJ0FbU/ACo4=; b=sTc94+c5mTptJ/fIedJ/1Sfed0D538HAinMgN3/36Zsw/JCBMrGxytNbNbmJ7TeXKD H1OLH4L4a1+Dnxv8CTuymj2Su1z9tCjGBPAS1rJlbT7XoQT0++95zRU8kLnoTsGcv7LO rxWYDzS+YHNvbYL1cyd3sCyHLrgu6oaMt/1yPVd1gZJcF2N3JCo3yjmpBiINfLHpn2fv caUCDUS4y06XMvPupXdpr1dBy6DQUBXiMtkI73TKr8iIs+MauAztsnz/JxgLAA6seLgN mYY1cs0+w6Jkz1Gqshus223ReKg7BCflapR43OCgPqCRqhNtnMjYhbi4by9N2RB+qShh u8nA== MIME-Version: 1.0 X-Received: by 10.28.7.68 with SMTP id 65mr16296887wmh.19.1447322969016; Thu, 12 Nov 2015 02:09:29 -0800 (PST) Received: by 10.28.181.213 with HTTP; Thu, 12 Nov 2015 02:09:28 -0800 (PST) In-Reply-To: <20151112093622.GA3261@c720-r276659> References: <20151112093622.GA3261@c720-r276659> Date: Thu, 12 Nov 2015 10:09:28 +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:09:31 -0000 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 > > 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.unixa= rea.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"