*BSD News Article 48849


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!swrinde!emory!nntp.msstate.edu!Ra.MsState.Edu!aak2
From: aak2@Ra.MsState.Edu (Atif Ahmad Khan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How would you do this ?
Date: 14 Aug 1995 07:09:03 -0500
Organization: Mississippi State University
Lines: 18
Message-ID: <aak2.808401125@Ra.MsState.Edu>
NNTP-Posting-Host: ra.msstate.edu
X-Newsreader: NN version 6.5.0 #2 (NOV)


This isn't a BSD specific question, so please forgive me for posting it
here.  I couldn't think of a more appropriate place to post it.

I need to start a small program everytime the machine boots. The program
needs me to enter a password when I start it.  Here is a sample session :

% start-my-program
Please type security password : xxxxxx
Program successfully started

I put the command "start-my-program"  in file /etc/rc.local but don't
know how to autmate enternig the password.  I can't be near the machine
and remember to enter the password everytime it reboots.  Any help would
be appreciated.  Thanks.

Atif Khan
aak2@ra.msstate.edu