Date: Mon, 21 Jun 1999 10:31:40 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Ken McGlothlen <mcglk@serv.net> Cc: questions@FreeBSD.ORG Subject: Re: Trying to use telnetd. Message-ID: <Pine.BSF.4.10.9906211030540.36767-100000@resnet.uoregon.edu> In-Reply-To: <14186.48492.781858.783714@ralf.serv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906211030540.36767-100000>