I’d to ask a question: why logging into KDE as a standard user (ie. not part of wheel group) is able to successfully execute “poweroff”?
To clarify my question:
If I boot up and login via command prompt (ie. not a desktop environment) or I ssh into the machine as a standard user, I cannot execute “poweroff”.
However, if I boot up the machine and log into KDE as a standard user, I can operate via the graphical environment to shutdown the computer. Why and how does this standard user able to execute an operation meant for root?
To clarify my question:
If I boot up and login via command prompt (ie. not a desktop environment) or I ssh into the machine as a standard user, I cannot execute “poweroff”.
However, if I boot up the machine and log into KDE as a standard user, I can operate via the graphical environment to shutdown the computer. Why and how does this standard user able to execute an operation meant for root?