Walking through the basics
NetworkManager uses the concept of connection profiles, which contain the network configuration. These profiles support a variety of formats for storing properties, such as int32
, boolean
, uint32
, string
, array of string
, uint64
, and many more. As NetworkManager’s usage and features grow, ifcfg
files may no longer be supported.
NetworkManager uses plugins to read and write this data. NetworkManager added support for new connection types and finally settled on using a more streamlined configuration file format for it, known as the keyfile
plugin.
The keyfile
plugin supports all connection types and capabilities that NetworkManager has. NetworkManager uses the INI-key file format to store connection profile data.
This plugin always remains active and stores any connection that no other active plugin supports. For security, it ignores files that could be read or written by any non-root user since private keys and passwords might be stored in...