[sudo-users] Sudo: parse error in /etc/sudoers near line -1
Todd C. Miller
Todd.Miller at courtesan.com
Tue Jun 9 12:14:36 MDT 2015
On Tue, 09 Jun 2015 16:13:28 -0000, "Eugene J. Pate" wrote:
> Hi guys I'm receiving the following error on an AIX server, can someone help?
> Sudo su - oracle
> "Sudo: parse error in /etc/sudoers near line -1"
You should try running visudo as root. Chances are there is a
syntax error on the first line. If you just want to check
the syntax you can run:
# visudo -c
More information about the sudo-users