sgmills / PrivilegesDemoter

Allow users to self manage admin privileges, while reminding them to operate as standard whenever possible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a feature to remove admin rights on logout / reboot

memile123 opened this issue · comments

Hi - Thank you for all the work on this tool, its been very helpful in my org. I have noticed admin permissions are still kept after reboot, logout and sleep. Any thoughts around adding something to remove or address?

Thanks for the suggestion! I'm interested in the possibility, but I'm not sure it could be done with how things are set up currently. I'll have to give it some thought.

Feel free to suggest how you might do it and/or submit a PR if you have ideas!

You could use PriviligesCLI and trigger it at logout via Jamf. Or you could use a logout hook and a script, but im not sure if this works in the current macOS version.

PrivilegesDemoter version 3 is now in pre-release and there are some options in the wiki for making demote on login work.