0

This question already has an answer here:

I tried to add user to sudoers with adduser username sudo, as well as in /etc/sudoers, but it cannot be change because is read only.

Can someone help me please?

marked as duplicate by karel, Pilot6, muru, Eric Carvalho, Tim Jun 29 '15 at 15:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

but it cannot be change because is read only.

this is because you don't run the command with sudo and thus as normal user and this is not granted for normal user.


From another sudo user or root user run the command replacing ussername with your user:

sudo adduser <username> sudo

The change will take effect the next time the user logs in..

Read this community wiki: https://help.ubuntu.com/community/RootSudo#Allowing_other_users_to_run_sudo

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