From owner-freebsd-current Tue Feb 4 23:17:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA09076 for current-outgoing; Tue, 4 Feb 1997 23:17:50 -0800 (PST) Received: from labs.usn.blaze.net.au (labs.usn.blaze.net.au [203.17.53.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA09068 for ; Tue, 4 Feb 1997 23:17:38 -0800 (PST) Received: (from davidn@localhost) by labs.usn.blaze.net.au (8.8.5/8.8.5) id SAA22692; Wed, 5 Feb 1997 18:17:12 +1100 (EST) Message-ID: <19970205181711.CI15151@labs.usn.blaze.net.au> Date: Wed, 5 Feb 1997 18:17:11 +1100 From: davidn@labs.usn.blaze.net.au (David Nugent) To: drussell@mail1.internode.net (Doug Russell) Cc: freebsd-current@freebsd.org Subject: Re: getty/mgetty References: <1.5.4.16.19970204171928.0a17e8ea@mail1.internode.net> X-Mailer: Mutt 0.60-PL0 Mime-Version: 1.0 In-Reply-To: <1.5.4.16.19970204171928.0a17e8ea@mail1.internode.net>; from Doug Russell on Feb 4, 1997 17:17:03 -0700 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Doug Russell writes: > So, I grabbed mgetty, and scared myself with it's sheer > gargantuan nature... Yes. I've been using mgetty for months now, and wasn't happy with it at all given that it was only a relatively tiny subset of its functionality that was needed. At some stage in its history, it came down with a bad case of featuritis. > getty would be fine if it did the PPP drop though thing. Is > there a simpler way of doing all this without having to munch > around with mgetty? I believe so since our getty should do it already. I haven't yet tested it, but will be doing so in the next couple of days, but many folks maintain that it works. > Ian is working on a little wrapper program that is going to go > in the login process somewhere to allow simple shell/ppp access > depending on the user's mood for advanced users, and straight > through to PPP for others, but we are trying to not re-invent > the wheel here... If a simpler method for doing > some of this already exists, why hack the code, right? :-) FWIW, I have something that does this already, called 'userls' (user login service). You can find it at: http://www.blaze.net.au/~davidn/UNIX/userls-1.5.tar.gz It can be hooked into login.conf shell=/path/userls or via symlinks to a pseudo shell. It is entirely transparent to network shell logins. > Anyway, I'm still digging through the source for getty and > login and some other things right now trying to decide what > the best way to go about getting this to work the way I want > it is.... There's no need to involve either. Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/