Jump to content
Zerograves

3.4.29.1587.pkg Install Failure Help

Recommended Posts

SO I went to update the software and it failed. REmoved it completely... failed again.

Uploading Install.log... but there is no "com.malwarebytes.EndpointAgent.log"

please help, love this software


 

 

 

install.log

Share this post


Link to post
Share on other sites

After scanning through the end of your install.log, the root cause of failure is due to the "unable to stat /etc/sudoers: Permission denied" which means that the installer was unable to either find or read your sudoers file which contains a list of users with administrative permissions.

First, are you logged into an admin user account? If you are the only user on the computer, then you almost certainly are the admin.

Open the Terminal application (found in /Applications/Utilities) then copy and past the following followed by the Return key:

ls -l /private/etc|grep sudoers

Then copy and paste the response back here.

Share this post


Link to post
Share on other sites

Zerograves:~ ZeroGraves$ ls -l /private/etc|grep sudoers

-r--r-----   1 root        wheel    1276 Mar 23  2018 sudoers

drwxr-xr-x   2 root        wheel      68 Jul 30  2016 sudoers.d

-r--r-----   1 root        wheel    1563 Jul 30  2016 sudoers~orig

Zerograves:~ ZeroGraves$

Share this post


Link to post
Share on other sites

thanks for your feed back, but the first option doesn't apply cause it can't install and the only user on this computer is the admin

 

Share this post


Link to post
Share on other sites

So that tells me that file is present and has the correct permissions to be read by root and group wheel. It also says something happened on March 23 to modify the original version that was there at the time. The sudoers~orig is probably an example file that came from an earlier OS that has been updated. It's unusual to see a current sudoers file that is smaller than the original. I have alway observed them to be larger when modified. If I had to guess at this point, I'd say that the portion that gives you admin permissions is missing for some reason.

There are three possible reasons why your sudoers file has been modified:
1) You are a programmer and command-line wizard and have made legitimate changes to the file.
2) You have installed some low-level system modification utility, such as an antivirus tool. Sometimes this file is modified by legitimate 3rd party software so that it can run with administrator, "super-user" privileges whenever it wants. However, this use is frowned upon. There are better and more secure ways to do this.
3) You have installed malware that has modified this file so that it can run with administrator, "super-user" privileges whenever it wants.

And here's the Terminal command you will need in order to read what is in yours:

cat /private/etc/sudoers

All of the lines that begin with a hash mark are remarks which are not acted upon. Only the lines that do not begin with # are important here. Normally there are only these two that are meaningful:

root ALL=(ALL) ALL
%admin  ALL=(ALL) ALL

Obviously, the second is the one that needs to be there for the installation to be successful.

Share this post


Link to post
Share on other sites

Zerograves:~ ZeroGraves$ cat /private/etc/sudoers

cat: /private/etc/sudoers: Permission denied

Zerograves:~ ZeroGraves$

Share this post


Link to post
Share on other sites

fixed it just reinstalled the os

Last login: Sat Oct  6 13:41:28 on console
You have new mail.
Zerograves:~ ZeroGraves$ ls -l /private/etc|grep sudoers
Zerograves:~ ZeroGraves$ 

MB installed working again, thanks for your assistance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.