From owner-freebsd-questions Sat Dec 21 06:10:50 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA10665 for questions-outgoing; Sat, 21 Dec 1996 06:10:50 -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 GAA10660 for ; Sat, 21 Dec 1996 06:10:47 -0800 (PST) Received: from localhost (andrew@localhost) by mopsy.hobart.tased.edu.au (8.6.12/8.6.12) with SMTP id BAA23384 for ; Sun, 22 Dec 1996 01:10:40 +1100 Date: Sun, 22 Dec 1996 01:10:37 +1100 (EST) From: Andrew X-Sender: andrew@mopsy.hobart.tased.edu.au Reply-To: Andrew To: questions@freebsd.org Subject: Running a shell instead of getty? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I want to be able to run a shell rather than getty on some of my virtual consoles. That way I don't have to type in my login name and password all the time (I know I'm lazy :-). The box is running 2.1.5 but it is in my bedroom and so quite safe from prying fingers as it were. I tried just replacing getty with the path to my shell in /etc/ttys but I got the "getty repeating too quickly error". I guess this is because the shell expects an already opened tty etc. I guess what I really need is a hacked getty that instead of launching login will setuid to me and exec a shell. Does anybody have any suggestions? I might try doing it myself but I would be extremely suprised if I have the expertise to do it. Thanks for any info/help, Andrew