Just to let everyone know, I tried the above mentioned solution again. Below is my current /etc/hosts, /etc/hostname, /etc/sudoers, /etc/network/interfaces, and the persisting sudo error.
/etc/hosts:
Code:
127.0.0.1 localhost localhost.local ubuntu
127.0.1.1 ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/hostname:
/etc/sudoers:
Code:
# /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
/etc/network/interfaces:
Code:
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
auto lo
iface lo inet loopback
iface eth4 inet ipv4ll
auto eth4
iface eth0 inet ipv4ll
auto eth0
Persisting Sudo error:
Code:
myron@ubuntu:~$ sudo gedit /etc/hosts
sudo: unable to resolve host ubuntu
[sudo] password for myron:
Usage:program_name [address][:port]Usage:program_name [address][:port]Usage:program_name [address][:port]myron@ubuntu:~$ sudo gedit /etc/hostname
sudo: unable to resolve host ubuntu
Usage:program_name [address][:port]Usage:program_name [address][:port]Usage:program_name [address][:port]myron@ubuntu:~$ sudo gedit /etc/sudoers
sudo: unable to resolve host ubuntu
Usage:program_name [address][:port]Usage:program_name [address][:port]Usage:program_name [address][:port]myron@ubuntu:~$ sudo gedit /etc/network/interfaces
sudo: unable to resolve host ubuntu
Usage:program_name [address][:port]Usage:program_name [address][:port]Usage:program_name [address][:port]myron@ubuntu:~$
Difference in error message when running a command that does not start another program:
Code:
myron@ubuntu:~$ sudo uname
sudo: unable to resolve host ubuntu
Linux
myron@ubuntu:~$
Here is the current state of all of the files that have been requested in the duration of this post. This is not the normal Sudo hostname / hosts difference problem from what I have seen and read so far. Any help is appreciated on this issue.
Bookmarks