For a project I am writing a PyQt5 widget for ifconfig on Linux. Some parts of my code require admin privilege. For example, shutting down an interface.
ifconfig
This