Python Forum
Use Python to start/stop a server service via a webform?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use Python to start/stop a server service via a webform?
#1
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.
Reply


Messages In This Thread
Use Python to start/stop a server service via a webform? - by oakleaf2001 - Apr-04-2020, 06:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ''.join and start:stop:step notation for lists ringgeest11 2 2,445 Jun-24-2023, 06:09 AM
Last Post: ferdnyc
  Start Putty into Python Form Schlazen 5 5,503 Dec-13-2022, 06:28 AM
Last Post: divya130
  Python Idle won't start totalmachine 9 3,542 Oct-16-2022, 05:57 PM
Last Post: totalmachine
  readline.parse_and_bind() does not work in start-up script of Python interpreter zzzhhh 0 1,532 Jan-18-2022, 11:05 AM
Last Post: zzzhhh
  Strange problem related to "python service" Pavel_47 1 1,408 Dec-07-2021, 12:52 PM
Last Post: Pavel_47
  How to take the tar backup files form remote server to local server sivareddy 0 1,917 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  Python Paramiko mkdir command overwriting existing folder. How can i stop that? therenaydin 1 3,237 Aug-02-2020, 11:13 PM
Last Post: therenaydin
  How can I make this server stop listening for connections to sockets Emekadavid 0 3,451 Jun-03-2020, 02:28 PM
Last Post: Emekadavid
  Create Service like window service jesssajan 3 2,999 Mar-06-2020, 01:09 PM
Last Post: ibreeden
  start and stop omxlayer playback dezmob 2 4,776 Jan-27-2020, 09:43 AM
Last Post: dezmob

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020