in reply to FreeRadius Config Propagation

in an interactive session..
amt do you do your interactive session as the web server user (or the whoever runs your CGI) - it sounds as if you are anyway, but, judging by the error message - the remote home dir is var/www (web server user?) so maybe you really do have a permissions problem there..

I wonder if your config file parses correctly - if the remote $addr was wrong - you'd have this problem too I bet.

update -- the perl code looks nice but I was wondering how you get the user to write files in /usr/local/etc/ on the remote host, or maybe you've got some special permissions set up on each remote box? -harold

Replies are listed 'Best First'.
Re^2: FreeRadius Config Propagation
by amt (Monk) on Oct 01, 2004 at 19:48 UTC
    hsinclai, I haven't got to that problem yet. The private key that I generated was as root on the machine that the script runs on. Should the key be generated as apache, and placed in /var/www/.ssh/? This is my first time with RSA keys to automate authentication.

    amt.

    perlcheat