Don't think this got through first time - if it did, then appologies ....
Do I need to create a service (similar to SWAT) to
allow a user to run
the html script and access the cgi file? What address do I need to include
in the html script so that the cgi script can be linked to?
How much do you know about CGI scripts ? Assuming that you
haven't come across these before (forgive me if this assumption
is incorrect), but you will need a web server to 'serve them up'
(apache is the usual choice for Linux).
Basically, the HTML file will do in the documents area of the
web server and the CGI script will go in the 'scripts area'.
These are 'htdocs' (sometimes 'html') and cgi-bin respectively
for apache (often installed in /home/httpd).
The client connects to the HTML and CGI scripts via a web
browser using something like :
Which in turn will probably invoke the script, which
could also be called directly at :
There may well be a '<form ... >' statement in the
passwd.html with an 'action=xyz' bit. This may have to
be changed to point to the passwd.cgi script, as seen
by users via your web server (for example above,
this would be something like 'action=/cgi-bin/passwd.cgi').
Does this help at all ? Drop me a line if you need more details.
Northants Linux Users Group