- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stop/start though web page?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:06 AM
09-24-2001 06:06 AM
I was wondering if anyone knows of a way to stop and start or just execute a remsh command though a webpage ? I already have apache set up on one box and it works great. But I have an app on another box that I would like to stop and start though a web page can be done though the execution of a remsh though a web interface? Thanks
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:24 AM
09-24-2001 06:24 AM
Solutionhttp://www.webmin.com/webmin/
it has an addon module that lets you execute any command throught a web interface... make sure you are sure you want to do this... it doens't use https only http
i have it installed and it works great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:27 AM
09-24-2001 06:27 AM
Re: stop/start though web page?
how hard was the installation ?
and is it free?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:53 AM
09-24-2001 06:53 AM
Re: stop/start though web page?
the install was easy very easy and straightforward.
Also, if you have hpux 11i, it comes bundled with the system if you install apache during os install.
try http://yourserver:10000
that is the default port for webmin
Once it is installed, it is very easy to upgrade to the latest version or add a module. Just point and click on the various webpages.
It has modules for all kinds of things like sendmail, postfix, mysql, apache, squid, bind, ftp, majordomo, and countless other popular applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:58 AM
09-24-2001 06:58 AM
Re: stop/start though web page?
you can achieve this through a little CGI script.
In fact nothing else is done by webmin.
Webmin is a little http server with a bunch of CGI scripts entirely written in Perl.
If you are adventurous enough and are aware of the security implications you could for instance (in a trusted host environment between the boxes) allow a user to execute (non-perilious) commands on the remote box by putting him in the .shost file of the login account on the remote box.
I would recommend to use ssh instead of remsh.
Then you could write a small CGI script and place it in the ScriptAlias directory of the webserver, and make it executable by the webserver's UID.
In Perl one could write something like
$ruser = 'user_on_remote_box';
$rhost = 'fqn_of_remote_box';
print <
HEADER
open SSH, "/usr/local/bin/ssh -l $ruser $rhost /usr/bin/ls -lR |";
while () { print }
close SSH;
print "\\n\\n";
__END__
But it is much better to use Perl's CGI.pm module, read the POD (i.e. "perldoc CGI").
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 07:21 AM
09-24-2001 07:21 AM
Re: stop/start though web page?
im liking this webadmin stuff !!
nice .. very nice ..
Can you point me how to add modules or the options to execute command though here?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 08:01 AM
09-24-2001 08:01 AM
Re: stop/start though web page?
Adding Modules:
go to "webmin" tab
then "webmin configuration"
then "webmin modules"
then "from local from" select the directory where you download the module to.
You can donwload modules from
http://www.webmin.com/webmin/standard.html
and thirdparty ones from
http://webmin.thirdpartymodules.com/
MANY.. MANY to choose from.
the one i use for ssh/telnet i downloaded and it put it under the "other" tab
on that same "other" tab i also have one that lets me run commands throught a web form .. the module is called "command shell"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 08:07 AM
09-24-2001 08:07 AM
Re: stop/start though web page?
one last question when you add a module do you have to restart webmin ?if so how do i restart this thing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 08:19 AM
09-24-2001 08:19 AM
Re: stop/start though web page?
I found it looking though the webadmin website.
Thanks allot for all your help
Richard