I tired to use visudo, but nothing happened. So I tried visudo -f /etc/sudoers thinking I needed to give it the file. But now my /etc/suders file is the error output from visudo about a syntax error on line 1. Why would visudo write its error output to /etc/sudoers? It is suppose to write a valid file not a syntax error message. This was with Ubuntu 14.04.
I'm trying to execute the TeamViewer daemon via Startup Applications and have attempted to make the folder where the script resides work without a SUDO password... I used Visudo to access the sudoers file... I noticed when I open Visudo it defaults to /etc/sudoers.tmp when I WriteOut I wrote to /etc/sudoers
I clearly must be doing something wrong here. Here are the contents of my sudoers file.
sudo is installed on my solaris box as shown below.
# ls -ltr /usr/local/etc/sudoers
-r--r----- 1 root root 2869 May 23 14:33 /usr/local/etc/sudoers
# whereis sudo
# uname -a
SunOS prod 5.10 Generic_144488-05 sun4v sparc sun4v
However while trying to edit the sudoers file using visudo, it is g