MakeMeAnAdmin icon indicating copy to clipboard operation
MakeMeAnAdmin copied to clipboard

having issue wile granting the access

Open mani2care opened this issue 4 years ago • 1 comments

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."

mani2care avatar Sep 21 '21 07:09 mani2care

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

Astorias96 avatar Dec 21 '21 15:12 Astorias96