2

I am getting this error:

visudo: >>>/etc/sudoers:syntax error near line 29 <<<
visudo: >>>/etc/sudoers.tmp unchanged
visudo: >>>/etc/sudoers:syntax error near line 29 <<<

I was try to hadoop installation(How to install Hadoop?)

add at the end the line to add hduser into sudoers file
hduser (ALL)=(ALL) ALL

but it not working.

1 Answer 1

3

To add a user to the sudoers the correct syntax is:

hduser    ALL=(ALL:ALL) ALL

If you want to add a group is:

%hdgroup   ALL=(ALL:ALL) ALL
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .