From owner-freebsd-questions Sat Dec 28 22:58:18 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA16950 for questions-outgoing; Sat, 28 Dec 1996 22:58:18 -0800 (PST) Received: from mopsy.hobart.tased.edu.au (root@mopsy.hobart.TASed.EDU.AU [147.41.41.103]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id WAA16944 for ; Sat, 28 Dec 1996 22:58:15 -0800 (PST) Received: from localhost (andrew@localhost) by mopsy.hobart.tased.edu.au (8.6.12/8.6.12) with SMTP id RAA27988; Sun, 29 Dec 1996 17:57:42 +1100 Date: Sun, 29 Dec 1996 17:57:40 +1100 (EST) From: Andrew X-Sender: andrew@mopsy.hobart.tased.edu.au To: Softweyr LLC cc: questions@freebsd.org Subject: Re: Running a shell instead of getty? In-Reply-To: <199612232207.PAA00935@xmission.xmission.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thanks for peoples comments...I haven't tried just callin login but I would guess it wouldn't work as login wouldn't open they vty and do all the getty magic. I have manged to hack getty and I have two new versions: 1) allows you to type in any name and you will be logged in as them without providing a password. 2) just runs my shell which was the original idea. If anyone wants the diffs (I just modified getty straight from the 2.1.6 source) just mail me but I don't imagine there will be much demand :-) My next task I think will be to try and get telnetd to give my shell without anymore prompting when I telnet from my mac. Unfortuantely telnetd appears to call login differently to getty. rlogin would accomplish this but I don't have an rlogin client :-( Andrew