Date: Fri, 2 Feb 2001 16:31:46 -0800 (PST) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <200102030031.f130Vk256323@freefall.freebsd.org>
index | next in thread | raw e-mail
brian 2001/02/02 16:31:43 PST
Modified files:
sys/net if_tun.c
Log:
o Allow non-root users to open /dev/tun* (remove suser()
in tunopen())
o Change the default device permissions to 0600 root:wheel
(were uucp:dialer)
o Only let root (suser()) change the MTU
This makes it possible for an administrator to open up the
permissions on /dev/tun*, letting non-root programs service
a tun interface. Co-operation is still required with a
priviledged program that will configure the interface side
of things.
Revision Changes Path
1.86 +6 -9 src/sys/net/if_tun.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102030031.f130Vk256323>
