Quote:
Originally Posted by lleb
ok, thats fine and dandy, but you didnt follow directions. please copy/paste the info requested above and follow the directions for rebooting the system via sudo.
|
whoami
check
pwd
/home/check
sudo shutdown -r now
>>> /etc/sudoers: syntax error near line 17 <<<
sudo: parse error in /etc/sudoers near line 17
sudo: no valid sudoers sources found, quitting
,is shown!
The content of my soduers file is in below:
# /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
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
check ALL=ALL(ALL) ALL
# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d