bmike1@PresarioLapTop1:/home$ sudo mkdir /backups
sudo: parse error in /etc/sudoers near line 14
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
so I think I'll go in and put it the way it was:
bmike1@PresarioLapTop1:/home$ sudo visudo
sudo: parse error in /etc/sudoers near line 14
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Here is the sudoers file:
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
bmike1
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
HEY! Look at that. I put my user in the wrong space. I meant to put it under '# User alias specification' but now I see that is wrong; I needed to put it under '# User privilege specification'.
Also, what about the "ALL's". What do they mean?
Can I fix this with VI? I'm not just doing it because I don't want to mess this up so bad I need to reinstall