Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 1999 13:20:13 -0400 (EDT)
From:      Mikhail Teterin <mi@misha.cisco.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        brian@Awfulhak.org
Subject:   kern/11981: access to tunN devices not allowed to non-root despite permissions
Message-ID:  <199906011720.NAA44297@misha.cisco.com>

next in thread | raw e-mail | index | archive | help

>Number:         11981
>Category:       kern
>Synopsis:       access to tunN devices not allowed to non-root despite permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun  1 10:30:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

	Despite the proper permissions on the /dev/tun? files, the tun-devices
	can only be opened by root. It seems, the tun-driver checks for this,
	without an obvious good reason...
	
	In addition, I'd like to be able to delegate an interface configuration
	to a non-root user, who is able to write to the device...

>How-To-Repeat:

	mi@chubby:~ (84) ls -l /dev/tun3
	crw-rw----  1 mi  dialer   52,   3 Jun  1 11:00 /dev/tun3
	mi@chubby:~ (85) groups
	mi dialer operator wheel
	mi@chubby:~ (86) cat /dev/tun3
	cat: /dev/tun3: Operation not permitted
	mi@chubby:~ (87) whoami
	mi


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906011720.NAA44297>