*BSD News Article 48676


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How would you do this ?
Date: 15 Aug 1995 10:40:22 +0200
Organization: Private U**x site, Dresden.
Lines: 23
Message-ID: <40pmhm$op9@bonnie.tcd-dresden.de>
References: <aak2.808401125@ra.msstate.edu> <40nr0b$jo9@gate.sinica.edu.tw> <aak2.808433446@ra.msstate.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Atif Ahmad Khan <aak2@Ra.MsState.Edu> wrote:

>>    Dumb question... but if you want to automatically enter the
>>password so it will be able to boot unattended, what's the point of
>>having a password there in the first place?
>
> 
> Because I didn't write the program.  And I am not as worried about the
> security aspect of the program as much as I am about it working "all the \
time"

If you are lucky and the guy didn't insist on using /dev/tty, or on
the standard input being a terminal, you should be able to hack
something like

	echo "my no longer secret password" | this-dumb-program

in your /etc/rc.local.  Otherwise, hard luck.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)