Re: add users :: web interface :: outside the network
twistedpickles <[email protected]> Mon, 21 Nov 2005 08:03:32 -0600
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your help. This worked! On 11/17/05, amx109 <[email protected]> wrote: > > here are the lines of php code u need (ignore hte #'s) > > ######################################################################### > > <? > > $Username=$_REQUEST['USERNAME']; > $Password=$_REQUEST['PASSWORD']; > > $execcommand='/usr/local/nocat/authserv/bin/admintool -c ' . $Username . ' > ' . $Password; > > exec($execcommand); > > ?> > > ######################################################################### > > i did say it was trivial. the $Username and $Password variables are > provided by a html page that uses a html form to send the information using > the 'post' method. > > if you need help with the html please see > http://www.w3schools.com/html/html_intro.asp or any other online tutorial > involving html forms > > best regards > > amran > > On 11/17/05, twistedpickles <[email protected]> wrote: > > > > Yes I'm aware of the admintool script...would you be willing to share > > your > > php script. > > Thanks. > > > > On 11/17/05, amx109 <[email protected]> wrote: > > > > > > the admintool script comes with nocat > > > > > > i run it under the authserv > > > > > > the path to it on my system is > > > > > > /usr/local/nocat/authserv/bin/admintool > > > > > > i think if u run it, theres some small help documentation. that or > > open it > > > up and examine > > > > > > the php page just uses the exec command to run the scrit with > > parameters > > > captured from a imple input form > > > > > > On 11/17/05, twistedpickles < [email protected]> wrote: > > > > > > > > Would you be willing to share the script? > > > > > > > > On 11/17/05, amx109 <[email protected]> wrote: > > > > > > > > > > i cheated and made a quick n dirty php page that called the > > admintool > > > > > script > > > > > > > > > > On 11/17/05, twistedpickles < [email protected] > wrote: > > > > > > > > > > > I currently manage the a gateway remotely and my only current > > method > > > > for > > > > > > > > > > > > adding users is via ssh. Is there a web interface or web page > > for > > > > adding > > > > > > users from out side the network? > > > > > > -- > > > > > > ::twistedPickles:: : > > > > > > _______________________________________________ > > > > > > NoCat mailing list > > > > > > [email protected] > > > > > > http://lists.nocat.net/mailman/listinfo/nocat > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > ::twistedPickles:: : > > > > _______________________________________________ > > > > NoCat mailing list > > > > [email protected] > > > > http://lists.nocat.net/mailman/listinfo/nocat > > > > > > > > > > > > > > > > -- > > ::twistedPickles:: : > > _______________________________________________ > > NoCat mailing list > > [email protected] > > http://lists.nocat.net/mailman/listinfo/nocat > > > > -- ::twistedPickles:: :