mgwmgw has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to write a test in perl which adds a service to inetd.conf (or xinetd.conf) on a remote machine, does some things which verify that the service works, and then removes the service to put the machine back the way it was.
This test needs to run on, and to access the configuration on, multiple flavors of Linux. You may know that the recommended way to edit inetd.conf and xinetd.conf differs on different Linuxes.
Assuming I already have utilities which can run a command-line on the remote machine, and that sudo works, is there perl which solves this problem already? Or part of it?
I have found a couple of perl modules that access the the config on the local machine, and that either are specific to one platform or that do not have the ability to add a new service.
Any advice?
|
|---|