Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 1999 10:50:03 -0700 (PDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/11981: access to tunN devices not allowed to non-root despite permissions
Message-ID:  <199906011750.KAA73800@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/11981; it has been noted by GNATS.

From: Mikhail Teterin <mi@aldan.algebra.com>
To: chris@calldei.com
Cc: mi@aldan.algebra.com, FreeBSD-gnats-submit@FreeBSD.ORG,
	brian@Awfulhak.org
Subject: Re: kern/11981: access to tunN devices not allowed to non-root despite permissions
Date: Tue, 1 Jun 1999 13:46:15 -0400 (EDT)

 Chris Costello once wrote:
 
 > On Tue, Jun 1, 1999, Mikhail Teterin wrote:
 > > 	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
 > 
 >    No, it  just means you can't  use 'cat' on tunX.  Try running 'ppp'
 > with it.
 
 Aha, and  what's so special  about cat(1)? I  can not open(2)  the file,
 despite favorable  permissions, that's it.  cat is just an  example. Ppp
 works, because it is suid root. Yours,
 
 	-mi
 


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?199906011750.KAA73800>