From owner-freebsd-questions Mon Jun 21 10:31:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id C46AC150C1 for ; Mon, 21 Jun 1999 10:31:42 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id KAA49756; Mon, 21 Jun 1999 10:31:41 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 21 Jun 1999 10:31:40 -0700 (PDT) From: Doug White To: Ken McGlothlen Cc: questions@FreeBSD.ORG Subject: Re: Trying to use telnetd. In-Reply-To: <14186.48492.781858.783714@ralf.serv.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 18 Jun 1999, Ken McGlothlen wrote: > | Why not just drop this into inetd.conf? > > First, sorry for the long excerpt. > > The reason I don't want to drop this into inetd.conf is that I don't want to > leave this port open all the time for telnet access; just as an on-demand sort > of thing. But if that's not possible . . . let's explore this a bit. > > So what I'd have to do, if I were pursuing this, would be to add the following > to /etc/services > > goomba 8080/tcp # Special firewall login spigot > goomba 8080/udp > > and then the following to /etc/inetd.conf > > goomba stream tcp nowait root /usr/libexec/telnetd telnetd -debug 8080 > > Would that be correct? On second thought, that may not work. > | I'm guessing login is checking the uid and not the euid of the process. It > | notices that the uid is yours (as a user) and pukes. It might work if you > | log in as root (not su) and then run it. > > Hm. That would require opening up a bunch of terminals in /etc/ttys. ? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message