Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!uunet!in2.uu.net!news1.digital.com!nntp-hub2.barrnet.net!olivea!wetware!wsrcc.com!news.orst.edu!news.uidaho.edu!usenet From: fn@pain.csrv.uidaho.edu (Faried Nawaz) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How would you do this ? Date: 15 Aug 1995 06:27:15 GMT Organization: posix power! Lines: 14 Distribution: world Message-ID: <FN.95Aug14232715@big-brother.pain.csrv.uidaho.edu> References: <aak2.808401125@Ra.MsState.Edu> Reply-To: fn@uidaho.edu NNTP-Posting-Host: big-brother.csrv.uidaho.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-reply-to: aak2@Ra.MsState.Edu's message of 14 Aug 1995 07:09:03 -0500 In article <aak2.808401125@Ra.MsState.Edu> aak2@Ra.MsState.Edu (Atif Ahmad Khan) writes: $ 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. if it takes the password from stdin, i guess you could echo password | /usr/whatever/program or something similar. of course, if anyone reads your /etc/rc.local, they have your password...