From owner-freebsd-stable Mon Apr 15 3:52:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 69A4037B400 for ; Mon, 15 Apr 2002 03:52:24 -0700 (PDT) Received: from rasputin by shikima.mine.nu with local (Exim 3.35 #1) id 16x45q-0000pT-00; Mon, 15 Apr 2002 11:52:18 +0100 Date: Mon, 15 Apr 2002 11:52:18 +0100 From: Rasputin To: Dmitry Morozovsky Cc: stable@freebsd.org Subject: Re: port forward only account? Message-ID: <20020415115217.A3160@shikima.mine.nu> References: <20020412151758.A21613@shikima.mine.nu> <20020414212249.U7299-100000@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020414212249.U7299-100000@woozle.rinet.ru>; from marck@rinet.ru on Sun, Apr 14, 2002 at 09:23:47PM +0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Dmitry Morozovsky [020414 18:41]: > On Fri, 12 Apr 2002, Rasputin wrote: > > R> ssh port forward to localhost on his box from certain IPs, but > R> not to have a shell. > R> What's a suitable shell? It should be able to hold a session open, > R> but not do anything else. > /bin/cat ? ;-) > > R> First thought is something like: > R> fwder:*:1002:1002:SSH port forwarder:/home/fwder:/usr/games/worms > nice idea ;-))) BTW, it *will* close the session after work eat himself > ot wall ;-) No that's worm(6) - I meant worms(6). I've gone for that,since the squiggly lines help remind people they're using the box, and look perty. Hardcoded the delay to a sutiably large value (to lower CPU use), and installed it to /bin/wormsh :) Thanks for the tips. -- Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message