Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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
share|improve this answer
1  
thanks it working –  Amit Dubey Oct 6 '13 at 16:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.