At 11:44 on Saturday, 03 Apr 2004, Terry Allen wrote:



what you need to do is add an attribute to htdig when you run it.

(are you using rundig? - if so you'll need to edit that)

you need to launch htdig like this:

htdig -u user:password

(subsitute user:password for real values and don't forget the colon between them )


that way when it is challenged for user and password details htdig will supply them.


more info about how you are running htdig would help.

hth anyway

Tony

Hi again,
Thanks Tony - I think that will do the trick - I am using rundig -c at the moment via a crontab - so I guess there, I would need to modify the line which currently reads:


/Library/Tenon/Htdig/bin/rundig -c /Library/Tenon/Htdig/conf/solutions.itavservices.com.conf

to instead read:
/path/to/rundig -c -u username:password /path/to/Htdig/conf/domain.com.conf


Would that be a fair assessment?


It would likely be better to simply add this line to the relevant .conf file (assuming it is only used for htdig):

authorization: user:password

just add it at the bottom of the conf file, substituting user:password as before.


alternatively if you are going to edit your cron do:


rundig -u user:password -c /path/to/Htdig/conf/domain.com.conf

rather than your suggestion above - the conf file must follow the -c and the user:password pair must follow the -u (AFAIK)


hth


Tony




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to