MakeMeAnAdmin icon indicating copy to clipboard operation
MakeMeAnAdmin copied to clipboard

Does not work on a newly enrolled device because _mbsetupuser is also logged in

Open zebulonsmith opened this issue 3 years ago • 0 comments

This can be fixed by changing line 23 to the following:

currentUser=$(who | awk '/console/{print $1}' | grep -v _mbsetupuser)

zebulonsmith avatar Nov 23 '21 01:11 zebulonsmith