How can I create users with privilege in ubuntu 10.04 server by using CLI
Create a (normal) user:
Or add it manually do the sudoers file (
I guess you are talking about being able to run sudo and stuff like that. Well for that to happen you have to belong to the admin group.
In order to keep this user as similar to another ubuntu user as possible the full command would be:
The most important one here is 'admin' as that would allow the user to run sudo which is probably what you want.