MakeMeAnAdmin Extended Duration

falbrecht
New Contributor III

Hi

 

I am trying to get MakeMeAnAdmin to extend longer than the 30 minutes but can't seem to figure it out. I tried to change the below to 14400 and that did not change anything.

sudo defaults write /Library/LaunchDaemons/removeAdmin.plist StartInterval -integer 1800

I have also tried the following but even with the parameter $4 set to 240 it still defaults to 5 minutes. Anyone have any ideas?

https://github.com/Rocketman-Tech/MakeMeAnAdmin/blob/main/MakeMeAnAdmin.sh

1 REPLY 1

arnoldtaw
New Contributor III

Is it actually only elevating for 5 mins or is the 5 mins is coming from logs/messages?