From owner-freebsd-questions Sun Dec 22 01:59:19 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA25665 for questions-outgoing; Sun, 22 Dec 1996 01:59:19 -0800 (PST) Received: from gdi.uoregon.edu (cisco-ts14-line14.uoregon.edu [128.223.150.180]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id BAA25660 for ; Sun, 22 Dec 1996 01:59:16 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.2/8.6.12) with SMTP id BAA00347; Sun, 22 Dec 1996 01:59:06 -0800 (PST) Date: Sun, 22 Dec 1996 01:59:05 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Andrew cc: questions@freebsd.org Subject: Re: Running a shell instead of getty? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 22 Dec 1996, Andrew wrote: > 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. You could blank out your password, then all you need is your username to get in. This is good practice anyway, to diff. yourself from 'root' should you need that login in an emergency. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major