From owner-freebsd-questions Sat Mar 4 20:59:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 42CF837B6F7 for ; Sat, 4 Mar 2000 20:59:28 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id AAA51595; Sun, 5 Mar 2000 00:04:25 -0500 (EST) (envelope-from cjc) Date: Sun, 5 Mar 2000 00:04:24 -0500 From: "Crist J. Clark" To: "Small, but frustrating." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: suid-root cxterm? Message-ID: <20000305000424.A49899@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from kunze@CS.ColoState.EDU on Sat, Mar 04, 2000 at 08:27:03PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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