Use Python to start/stop a server service via a webform? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Use Python to start/stop a server service via a webform? (/thread-25583.html) |
Use Python to start/stop a server service via a webform? - oakleaf2001 - Apr-04-2020 I have a couple of Debian servers with webmin on them. For security, I'd like to keep the webmin service off, but allow some users to turn the service off and on via a simple, password-protected webform on an unlinked back page. I'm considering what language and approach to use. How possible is this to do with python? (I'm not a pythonist, so I'd be hiring someone for that. ) Any links to some useful source code that could be tweaked for this? (I do have some programming background) Thanks much. |