The noroot plugin will check if root access is needed for the given DNF command and abort with a message if the command is not running under the root UID.
DNF needs-restarting Plugin
DNF protected_packages Plugin
Enter search terms or a module, class or function name.