Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

suid-root cxterm?

0 views
Skip to first unread message

Crist J. Clark

unread,
Mar 5, 2000, 3:00:00 AM3/5/00
to Small, but frustrating.
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 cjc...@home.com


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

Small, but frustrating.

unread,
Mar 5, 2000, 3:00:00 AM3/5/00
to freebsd-...@freebsd.org
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?


[this space irrationally left blank]

matt kunze

0 new messages