I would like to manually add a new user to my Ubuntu 12.04 box with admin privileges.
This is what I did so far:
adduser
adduser admin, sudo
Edited the sudoers file with visudoers:
# User alias specification
...
User_Alias ADMINS =
...
# User privilege specification
...
ALL=(ALL) ALL
...
I then logged in with the new user, but every time I try to run a command (like visudoers) it says the command is not found. when I "echo $PATH" the /bin/sbin directory is not in the path.
Is there a similar command to adduser but for admin users (so it copies the root user skeleton at the end (copy /etc/skel)? How do I manually create a user like the one I create as the first user when installing Ubuntu?