Mohsen Rezaii
Mohsen Rezaii

Reputation: 11

Getting error "User is not in the sudoers file. This incident will be reported."

I'm trying to install GitLab Runner on Mac with manual installation, but after entering the first command:

sudo curl --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64

I get the following error:

User is not in the sudoers file. This incident will be reported.

Upvotes: 1

Views: 20580

Answers (1)

Matthias Fue
Matthias Fue

Reputation: 1

I managed a similar problem (install Cocoapods) by adding to my user the admin rights.
Go to Settings -> Users -> Click "User is allowed to admin this computer". After a restart, it should work again.

Upvotes: 0

Related Questions