vpnc && setuid

krad kraduk at gmail.com
Thu Nov 12 10:09:31 UTC 2015


whats the perms of /usr/local/etc/vpnc.conf if it exists

On 12 November 2015 at 09:36, Matthias Apitz <guru at 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
>
> 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 at unixarea.de, 🌐 http://www.unixarea.de/> +49-176-38902045
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list