Photon Management Daemon



Photon Management Daemon (pmd) provides secure remote management of resources on linux machines.

pmd manages the following resources

  • iptable rules
  • network via netmgmt component
  • packages via tdnf
  • users and groups

pmd provides the following ways to interact with the server

  • cmd line client (pmd-cli) uses dce-rpc and srp to securely authenticate
  • REST api (spec driven with openapi swagger 2.0)
  • server openapi spec driven REST cmd line client (copenapi)
  • python2/3 api

Try it out


  • vmware-rest, copenapi
  • likewise-open
  • lightwave directory client, lightwave afd client
  • tdnf, netmgmt
  • rpm, jansson, krb5, curl, glib

Build & Run

  1. Install devel packages of above prerequisites as applicable.
  2. From the source root directory, ./
  3. mkdir /etc/pmd && cp conf/* /etc/pmd
  4. Server binary is server/pmd. run it in the background ./server/pmd &
  5. ./tools/cli/pmd-cli and follow cmd line help. For eg: pmd-cli net dns_servers --get



These are the current registered components 'firewall' : firewall management 'net' : network management 'pkg' : package management 'usr' : user management You need to specify a component and a command usage: pmd-cli [connection/auth options] [command options]

For local connections, use: pmd-cli . Current logged in user permissions will apply when executing commands. This is the same as specifying --servername localhost. For remote servers, use one of 3 methods mentioned below. Password is never sent out in clear to the remote in any of the below auth scenarios. When --user is specified, you will be prompted for password.

  1. System user. pmd-cli --servername --user
  2. Lightwave user (pmd server must be joined or should be part of embedded lightwave) pmd-cli --servername --user --domain
  3. Kerberos spn (client must successfully run kinit before using this method) pmd-cli --servername --spn

REST interface

self documenting via conf/restapispec.json or copenapi client


import pmd help(pmd) srv = pmd.server() help(srv) help(

Releases & Major Branches

Initial release 0.0.1


The pmd project team welcomes contributions from the community. If you wish to contribute code and you have not signed our contributor license agreement (CLA), our bot will update the issue when you open a Pull Request. For any questions about the CLA process, please refer to our FAQ. For more detailed information, refer to


pmd is available under the Apache 2 license.

Popular Daemon Projects
Popular Photon Projects
Popular Control Flow Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Command Line