On Thu, Apr 18, 2002 at 10:49:28AM +0530, Sapan J . Bhatia spoke out thus:
> I have a binary only program that authenticates my host to the local gateway
> so that I can use it... I need to put it in a cron job and run it
> periodically, but unfortunately, it doesn't have provisions to store my
> password and prompts me for it every time... 

It would be interesting to know which binary program do you have in mind, unless
the whole operation is a bit shady. ;)

I have had a similar problem with the linux client of Cyberoam, which expects
me to enter a password at a prompt everytime when I log
in. Thankfully, it handles the cron part of it itself by being a
daemon and sheduling keepalives itself.

I wanted to automate this in my rc scripts, and Varun had suggested
that I use expect(1) . I haven't yet tried it out though, but it
seems like a reasonable solution. 

- Sandip

-- 
Sandip Bhattacharya
Mindframe Software
Work: sandip @ mindsw.com, http://www.mindsw.com
Play: sandipb @ bigfoot.com, http://www.sandipb.net
-----------------------------------------------

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to