vpnc && setuid

Matthias Apitz guru at unixarea.de
Thu Nov 12 12:05:59 UTC 2015


El día Thursday, November 12, 2015 a las 10:19:38AM +0000, krad escribió:

> Looks like you need to 640 or 644 it.

Why? The /usr/local/sbin/vpnc is set to:

# ls -l /usr/local/sbin/vpnc
-rwsr-xr-x  1 root  wheel  105092 10 nov 20:12 /usr/local/sbin/vpnc

and the proc should run with euid=0, i.e. as root, but does not do this
and the question is, why?

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045


More information about the freebsd-questions mailing list