sudo
command in the Terminal app to execute commands as a different user, such as the root user. After you enter the command, Terminal asks you to enter your account password. If you forgot your password or your account doesn't have a password, add or change your password in Users & Groups preferences. You can then execute sudo
commands in Terminal.