Date: Sun, 22 Dec 1996 01:59:05 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Andrew <andrew@ugh.net.au> Cc: questions@freebsd.org Subject: Re: Running a shell instead of getty? Message-ID: <Pine.BSI.3.94.961222015831.243K-100000@localhost> In-Reply-To: <Pine.BSF.3.95.961222002935.23083E-100000@mopsy.hobart.tased.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961222015831.243K-100000>