Check if your Mac OS X is ‘infected’ | Just my blog

/dev/random

Check if your Mac OS X is ‘infected’

Some of you might have read the posting about the infection issues on Mac OS X

I just looked into it and guess it’s easy to detect if you’re ‘infected’:

$ sudo -u root cat /etc/sudoers | grep NOPASSWD | grep -v ^# | wc -l

If it returns a 0, everything is fine… if not… you might be infected, or you modified the sudoers file yourself.

Schermafbeelding 2015-08-04 om 22.20.58


Post a Comment

Your email address will not be published. Required fields are marked *

*

  • Social

  • By continuing to use the site, you agree to the use of cookies. more information

    The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible and enable advertising to provide you free content. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

    Close