From owner-freebsd-questions Thu Dec 2 23:45: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 2298614C17 for ; Thu, 2 Dec 1999 23:44:49 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 11tnOJ-0002P7-00; Fri, 03 Dec 1999 09:44:31 +0200 From: Sheldon Hearn To: Dave Runkle Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Eterm only runs as root? In-reply-to: Your message of "Thu, 02 Dec 1999 22:17:02 PST." Date: Fri, 03 Dec 1999 09:44:31 +0200 Message-ID: <9244.944207071@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 02 Dec 1999 22:17:02 PST, Dave Runkle wrote: > I can't believe that I overlooked this somewhere in the docs, but > Eterm will not run as a regular user for me. I've changed perms on > the /usr/X11R6/bin/Eterm, but it still won't run under any user > except for root. I get seg fault every time. Runs great under root. This isn't so strange. Even the stsock xterm that comes with XFree86 is suid root: ls -l `which xterm` -rws--x--x 1 root wheel 158780 Oct 15 17:32 /usr/X11R6/bin/xterm I believe this is required for manipulation of /etc/utmp. A glance at the manpage suggests that the xterm resource utmpInhibit might get you past the requirement for suid root on the binary. Check the docs for Eterm, though. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message