Results 1 to 5 of 5

Thread: sudo: unable to resolve host Lair

Threaded View

  1. #5
    Join Date
    Apr 2008
    Location
    Sessrumnir
    Beans
    440
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: sudo: unable to resolve host Lair

    Code:
    fenris@Lair:~$ cat /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 Lair.TOTSVILLE
    
    # 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
    fenris@Lair:~$ cat /etc/hostname
    i have changed the top line as follows;
    Code:
    127.0.0.1 Lair
    127.0.1.1 Lair.TOTSVILLE
    now i get this in terminal when i close i.e. gedit /etc/*****
    Code:
    Usage:program_name [address][:port]Usage:program_name [address][:port]Usage:program_name [address][:port]fenris@Lair:~$ sudo gedit /etc/hosts
    @Hal looked at the thread you indicated and have adjusted my host file in a similar fasion. result sorted
    now im not sure i can assist in why it suddenly began but here goes. my hostname was picked during install.
    samba was installed later and i had to add a line to gain permission to create shares, i also changed the 'group'
    from the default.

    workgroup = TOTSVILLE << changed from the default 'workgroup'
    usershare owner only = False<< added this whole line

    at the time nothing occured. BUT the latest updates requested if i wanted to keep my current smb.conf or install the newer 1. i opted for the newer one, last time i refused a similar offer it caused severe problems later, and of course i had to go back in to smb.conf to re-edit as before. this is the only thing that was done after the latest updates and emmediately before it started throwing the message up. thanks for all your help guys, clicking your thanks
    Last edited by Fenris_rising; June 11th, 2008 at 08:38 AM.
    "Windows Vista Sir?"
    "No thanks, I'd rather shove wasps up my nostrils!"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •