*BSD News Article 55625


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!agate!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: autologin?
Date: 22 Nov 1995 00:11:28 GMT
Organization: Private BSD site, Dresden
Lines: 20
Message-ID: <48tprg$j59@uriah.heep.sax.de>
References: <48heab$gou@acmex.gatech.edu> <48kkpc$l5s@uriah.heep.sax.de> <53ybtb1t2m.fsf@plinth.vide.coventry.ac.uk> <48pt2i$ncl@acmex.gatech.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

gt4722a@prism.gatech.edu (Brian "AGENT GORDON COLE" Atkins) writes:

> Now that we are done trashing Irix, I am still wondering if there is
> a way to do it in FreeBSD. Obviously I understand the security issues,
> but I am still interested in knowing if it can be done or not.

I normally don't give such hints: but think about init(8) and ttys(5).
All you need is starting a shell instead of the getty on ttyv0.

Perhaps you need a wrapper around it assigning the proper controlling
tty.

(You can also hack login(1).)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)