cannot use sudo command
hi!! Created this problem myself. using users&groups i took away the 'administer privilege' for my only login name-a1. now i cannot use sudo command and get into root. the error given is " this 'a1' is not in sudoers file. seen the https:/
My sudoers file is as :(which is very much like the default sudoers file)
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# 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
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
please tell me what is to be done
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu sudo Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jatan
- Solved:
- Last query:
- Last reply: