12.6 Configuring NetworkManager Permissions
In addition to making it easier to manage networks on Fedora 31, NetworkManager also allows permissions to be specified for connections. The following command, for example, restricts a connection profile to root and user accounts named john and caitlyn:
# nmcli con mod static_ip connection.permissions user:root,john,caitlyn
Once the connection profiles have been reloaded by NetworkManager, the static_ip connection will only be active and accessible to other users when at least one of the designated users is logged in to an active session on the system. As soon as the last of these users logs out, the connection will go down and remain inactive until one of the users signs back in.
In addition, only users with permission are able to make changes to the connection status or configuration.