Prepare Your Mac

Installation of daemons (services) on macOS systems requires root account privileges. This means that the root account should always be used when installing the Vulnerable Software Discovery Tool for Mac.

You can switch to your local root account by using the command ‘su root’ in your Mac Terminal. You will be prompted to provide the password for the root account.

Provide the password for “root” if you know it. If you are not certain about the password, you may want to try entering “toor”, which is the default password for the root account, or you may also try with the current password of your Administrator account. Both ways may work, but if the account is disabled on the system, none of the passwords would work.

Important:The Terminal window will not display the password you typed in. Once you have entered the password correctly, press ENTER and wait for confirmation.

If you do not know the password for the root account, or the latter is currently disabled, you can perform the following actions to enable the account and set a new password:

Open Terminal
Type sudo passwd root
Provide a new password

For more details on how to enable root account on macOS systems, refer to:

http://support.apple.com/kb/ht1528 

Important:If you cannot enable the “root” account on the Mac, or you prefer to not use it directly, you can alternatively use the “sudo” switch before each command associated with Vulnerable Software Discovery Tool for Mac  activities. For example: sudo ./svmscan_macos –c –v –v –v can be used to install the Vulnerable Software Discovery Tool for Mac on the system.

Once you are ready with setting/logging the root account, you are one step away from installing the Vulnerable Software Discovery Tool for Mac.

When you download the Vulnerable Software Discovery Tool for Mac on your system, normally the file is being set with limited file permissions on the system. You must check whether the file is allowed execution on the system by using the ls -l command, which will list the file and will show its file permissions.

In case the permissions do not include execute rights (the “x” character) for any user, you should set them for the root account by using the chmod +x command.

chmod +x svmscan_macos 

(If you are not using the root account, add sudo before chmod.)