Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

Solved Go to solution
Highlighted

At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

Contributor

however, I have this entry in my sudoers file

root ALL=(ALL) ALL

what I can do here to fix that error?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

@Robin Dong

This is strange. See this thread

View solution in original post

7 REPLIES 7
Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

@Robin Dong

This is strange. See this thread

View solution in original post

Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

@Robin Dong

I have this in my cluster

[root@phdns01 ~]# cat /etc/sudoers | grep root

## the root user, without needing the root password.

## Allow root to run any commands anywhere

rootALL=(ALL) ALL

## cdrom as root

rootALL=(ALL)NOPASSWD: ALL

[root@phdns01 ~]#

Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

1811-screen-shot-2016-02-04-at-33040-pm.png See this

Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

Contributor

great, it fixed the problem. I have another error come up, please see my next question, thanks

Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

@Robin Dong Did this answer fix the issue?

Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

Contributor

BTW, I have all servers id_rsa key set the same, and passwordless worked OK.

so I have 5 entrys as the private keys. do you think it is the a problme? or any banner for root user could be the problem?

Highlighted

Re: At final steps of the installation, it failed, error: root is not in the sudoers file. This incident will be reported.

@Robin Dong

I am confused on your last comment. What fixed the issue?

Don't have an account?
Coming from Hortonworks? Activate your account here