Date: Sun, 5 Mar 2000 00:04:24 -0500 From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: "Small, but frustrating." <kunze@CS.ColoState.EDU> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: suid-root cxterm? Message-ID: <20000305000424.A49899@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <Pine.GSO.4.20.0003042023310.29823-100000@mcferrin.cs.colostate.edu>; from kunze@CS.ColoState.EDU on Sat, Mar 04, 2000 at 08:27:03PM -0700 References: <Pine.GSO.4.20.0003042023310.29823-100000@mcferrin.cs.colostate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 04, 2000 at 08:27:03PM -0700, Small, but frustrating. wrote: > i just installed cxterm from the ports collection and for some reason the > binary was installed suid root. i couldn't find any mention of this in the > docs, and everything seems to work fine when i give it more reasonable > permissions. is there any reaon that it should be installed this way? Well, *terms are generally suid root, % ls -l `which \xterm` -rws--x--x 1 root wheel 155768 Aug 31 1999 /usr/X11R6/bin/xterm I would think you need this in order to at least, % ls -l /dev/ttyp[0-7] crw--w---- 1 cjc tty 5, 0 Mar 4 21:40 /dev/ttyp0 crw--w---- 1 cjc tty 5, 1 Mar 5 00:03 /dev/ttyp1 crw--w---- 1 cjc tty 5, 2 Mar 5 00:03 /dev/ttyp2 crw--w---- 1 cjc tty 5, 3 Mar 5 00:01 /dev/ttyp3 crw-rw-rw- 1 root wheel 5, 4 Mar 4 15:08 /dev/ttyp4 crw-rw-rw- 1 root wheel 5, 5 Mar 4 21:45 /dev/ttyp5 crw-rw-rw- 1 root wheel 5, 6 Mar 4 22:15 /dev/ttyp6 crw-rw-rw- 1 root wheel 5, 7 Mar 1 21:01 /dev/ttyp7 chown the ttyp? device to the appropriate user. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000305000424.A49899>