Originally Posted by kreed
I had to create another user and allow him to use sudo for my own account (kreid8)
So how would I go about doing that, because I do not want to give root commands to this user
I just want sudo tail and head to work from the new user using my account
I had a problem with this when I set up my new Debian distro yesterday.
Here's what the bottom part of my sudoers file looks like:
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
To get to the file you should always use the command $ visudo
After (carefully) making the changes use ctrl+x then y to leave and when asked what to do type Q and hit enter. This will save the changes you made.
Test sudo with something simple. HTH.