[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2009-01-05 Thread goto
*** This bug is a duplicate of bug 32906 *** https://bugs.launchpad.net/bugs/32906 ** This bug has been marked a duplicate of bug 32906 sudo fails if it cannot resolve the local hostname and no MTA is installed -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.n

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2009-01-05 Thread Thomas Hood
Should be marked as a duplicate of 32906. -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.co

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2009-01-05 Thread Thomas Hood
goto wrote: > Erm, why not just have: > > 127.0.0.1 localhost.localdomain localhost myhostname > 10.20.21.22 myhostname > > like at http://www.faqs.org/docs/securing/chap9sec95.html One reason for not doing that is that the FAQ is for RedHat, not for Ubuntu. Another reason for not doing that is

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2009-01-05 Thread Thomas Hood
Dennis Kaarsemaker wrote: > The line that should read > 127.0.0.1 localhost.localdomain localhost myhostname No it should not. Read section 10.4 of the Debian reference which also applies to Ubuntu. http://www.debian.org/doc/manuals/reference/ch-gateway.en.html In general, it is important

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-12-22 Thread Colin Watson
** Tags added: qa-jaunty-foundations -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com htt

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-10-07 Thread bugmenot
Erm, why not just have: 127.0.0.1 localhost.localdomain localhost myhostname 10.20.21.22 myhostname like at http://www.faqs.org/docs/securing/chap9sec95.html -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because yo

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-24 Thread Matthew Hawkins
I got this with a fresh install of 8.04 too, and I've had to help a few people on IRC who have been bitten by it. My solution was as follows: boot into recovery console (the only way to get root now since sudo is broken) edit /etc/hosts and add the shortname - I added it to both the 127.0.0.1 and

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-21 Thread Frank_C
I'm a little late to this conversation, but here is my problem, my fix and my comment... I updated from Guitsy to 8.04 LTS on my desktop I could not hook up with my XP laptop in Gutsy (shared files could not be displayed on either computer) but when i upgraded, i could instantly see all sh

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-08 Thread gary_inNYC
Now that sudo works after the patch, I am now (unable) to start synaptic, or change software sources from the System, Administration menu. What's going on? I can still use apt get from terminal, but I can't use synaptic through gui menus. Ugh! As soon as I rid the domain entry from manual netw

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-07 Thread Denny
Dani Alonso I'm a new guy and I thank you. Easy, short and right on!!! Den -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mail

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-01 Thread gary_inNYC
Scratch my initial post... I noticed that without manually typing in a workgroup name in domain, I can't access a windows workgroup. If I do fill in a workgroup name in domain, I can join the windows workgroup and access its shares, however, I can't use sudo. If I leave the domain field blank an

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-01 Thread glennr
This happened to me on upgrading from 7.10 to 8.04 on an AMD64 box. I had edited /etc/hosts by hand on this machine, perhaps it has something to do with that? -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because yo

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-05-01 Thread gary_inNYC
Here's another related link that got my issue fixed: http://ph.ubuntuforums.com/showthread.php?t=719252 In particular, take a look at comments from "dcstar" and "InfinityCircuit" . I can now sudo as normal and be a part of a Windows workgroup as I intended when I modified network configuration

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-04-28 Thread flopin
I confirm this bug. It started when upgrading from 7.10 to 8.04 (kubuntu), but when i call sudo, it shows this error, but otherwise it looks like it's function is unaffected. Adding record to /etc/hosts solves the problem -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpa

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-04-24 Thread juggler885
I just upgraded from from 7.10 to 8.04 (using the updated manager in KDE) and had this problem too. The solution was to add my hostname to the /etc/hosts file on the end of the line containing 127.0.0.1. I was able to open up /etc/hosts as root by using the command: su -c "nano /etc/hosts" -- Mi

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2008-04-23 Thread xxxYURAxxx
i am today update 2 pc with ubuntu 7.10 to 8.04rc and i have this bug too when hostname not in hosts.conf sudo doesn't work. -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2007-10-06 Thread 20after4
Not the most elegant solution but this will make sure that the hosts file is correct, even if you change your host name: I made a simple little script that can generate the hosts file based on the current /etc/hostname, you could run this in your /etc/rc.local like so: /path/to/mkhosts.sh > /etc/

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2007-09-07 Thread usen
The problem come up when I have installed VSFTPD. But how to solve it,this is why I come here. The sudo and su command unenabled,how to solve. I am fresh man,I hope get help from here.However I can't. -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2007-04-19 Thread Colin Watson
** Changed in: netcfg (Ubuntu) Assignee: Colin Watson => (unassigned) -- Missing hostname in /etc/hosts causes sudo to fail https://bugs.launchpad.net/bugs/19775 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2006-11-28 Thread Vincenzo Ciancia
The missing hostname also causes problems when using prevu, it fails on prevu-init. -- Missing hostname in /etc/hosts causes sudo to fail https://launchpad.net/bugs/19775 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2006-11-17 Thread corey
yes, the sudo failed on getnamebyhost()。 This is maybe terrible, because you must get the root power by grub (recover mode) and fix the /etc/hosts file to correctly. Or you almost can't do anything(a lot of things need use the sudo command). -- Missing hostname in /etc/hosts causes sudo to fai

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2006-09-12 Thread manu
Related bug: sudo shouldn’t ABSOLUTELY NEED to look up the host it’s running on https://launchpad.net/bugs/32906 -- Missing hostname in /etc/hosts causes sudo to fail https://launchpad.net/bugs/19775 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listi

[Bug 19775] Re: Missing hostname in /etc/hosts causes sudo to fail

2006-09-12 Thread manu
This seems widely confirmed ** Summary changed: - Missing hostname in /etc/hosts + Missing hostname in /etc/hosts causes sudo to fail ** Changed in: netcfg (Ubuntu) Status: Unconfirmed => Confirmed -- Missing hostname in /etc/hosts causes sudo to fail https://launchpad.net/bugs/19775 -