Web Hosting Talk







View Full Version : WebHost Manager Telnet Commands


PERL SCRIPTOR
06-09-2001, 02:31 PM
Hello, I tried reaching the support at DarkOrb about this but their e-mail didn't seem to work. Anyhow I imagine someone out there already has my answer. Is there anywhere I can get a detailed list of all teh available commands for WebHost Manager in telnet and their functions? Thanks,

Matt Lightner
06-09-2001, 02:39 PM
Matthew,

The WHM does not allow you to call it's functions from telnet - they are all coded into the program itself and are accessable only through the web.

If you're looking to get things done via telnet, I would recommend browsing through the /scripts directory in your server.

Hope that helps.

Best Regards,
Matt Lightner
mlightner@site5.com
matt@darkorb.net

Ericd
06-09-2001, 02:55 PM
type

ls /scripts

then, hit enter: it should show you all the commands.

:)

PERL SCRIPTOR
06-09-2001, 08:38 PM
Currently I do not own the webhost manager, but am rather interested in developing an auto script sign to work with it. I know there is a free php one but I was looking to strike out and do my own thing with it. Is there any info I can get on how to access webhost manger with my scripts. I'm using PERL and possibly after that a version in C++.

Matt Lightner
06-12-2001, 02:19 AM
If all you need to know is the syntax, here you go:

Use the this syntax:

/scripts/wwwacct <domain> <user> <pass> <quota> <cpmod[advanced/?]> <ip[y/n]> <cgi[y/n]> <frontpage[y/n]> <maxftp> <maxsql> <maxpop> <maxlst> <maxsub> <bwlimit> <hasshell[y]/[n]>

Hope that helps in your quest!

Best Regards,
Matt Lightner
mlightner@site5.com
matt@darkorb.net

PERL SCRIPTOR
06-12-2001, 06:00 PM
Hey Matt, is there any source manuals I can get that info you posted along with a bunch of other stuff on WHM?

Thanks

Matt Lightner
06-12-2001, 06:03 PM
Originally posted by PERL SCRIPTOR
Hey Matt, is there any source manuals I can get that info you posted along with a bunch of other stuff on WHM?

Thanks
Unfortunately there is very little documentation for the system available at this time. Any type of advanced integration techniques would be best learned by reading through the source code (the few parts that aren't compiled).

Best Regards,
Matt Lightner
mlightner@site5.com

PERL SCRIPTOR
06-12-2001, 06:31 PM
Where could I get the source code, or would I obviously have to own a copy first?

Matt Lightner
06-12-2001, 06:38 PM
Originally posted by PERL SCRIPTOR
Where could I get the source code, or would I obviously have to own a copy first?
You will need to have access to a server with a valid Cpanel license.

Best Regards,
Matt Lightner
mlightner@site5.com