Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2015 11:13:33 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: vpnc && setuid
Message-ID:  <20151112101333.GA3606@c720-r276659>
In-Reply-To: <CALfReydC1JD1LNUHHPev=q7WA98b52mootDngOQmEtXTUKkWYA@mail.gmail.com>
References:  <20151112093622.GA3261@c720-r276659> <CALfReydC1JD1LNUHHPev=q7WA98b52mootDngOQmEtXTUKkWYA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <guru@unixarea.de> 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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20151112101333.GA3606>