having issue wile granting the access
error : mani2 is not in the sudoers file. This incident will be reported.
but have access and enabled the admin while checking the account and its admin user , able to install the apps while doing the sudo its says "machi2 is not in the sudoers file. This incident will be reported."
Hi mani2care,
I have been encountering the exact same issue. I fixed it by adding the following 2 lines to the bash file:
Line 68 - echo "$currentUser ALL=(ALL) ALL" >> /etc/sudoers.d/sudoers Line 81 - rm /etc/sudoers.d/sudoers
May not be the most clean fix, but it works.
/!\ If you have already modified this file, this fix will delete the existing configuration /!
I would not recommend editing this file and using the MakeMeAdmin bash in paralell, as it makes no sense in term of security.
Hope this helps. Kind regards,
Astorias96