Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 1996 01:10:37 +1100 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        questions@freebsd.org
Subject:   Running a shell instead of getty?
Message-ID:  <Pine.BSF.3.95.961222002935.23083E-100000@mopsy.hobart.tased.edu.au>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961222002935.23083E-100000>