For linux beginner like me i found it is kinda hard when working on a non-gui enviroment. I've created a new user in my ubuntu box for mail-archiva. When i try to sudo and it return with the error message "not in sudoers list". It does give me a headache to switch account back and forth.
Here are the simple fix (the text in bold is command line) :-
1) groups <username> ; to check the group that the user account are currently associated with.
2) sudo adduser <username> sudo ; to add the new user to the sudo group
that should do the trick :)
No comments:
Post a Comment