I'm on Linux Mint 18. I'm writing a program which temporarily removes the current admin user from the sudo group. The intention is to use this program in conjunction with others to be able to precommit to certain actions, such as blocking some websites.

The program currently functions for any new terminal windows I open after removing the current user from the sudo group. However, I am still able to access the "Software Manager" GUI, and the "Users and Groups" GUI interface using my password. These are things which typically need root access. Is there some way of relaying the changes in the sudo group to the session so that I'm not able to access these GUIs?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.