I am using ubuntu 7.4 and su, sudo, and su - are giving me the same responds.<br>unable to lookup jordan via gethostbyname()<br><br>I was clearly not thinking right because it did not make a back up. Although I have tried to scp the host file from my notebook to the desktop and i get permission denied.
<br><br><div><span class="gmail_quote">On 7/3/07, <b class="gmail_sendername">Stephan Andre&#39;</b> &lt;<a href="mailto:andres@msu.edu">andres@msu.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tuesday 03 July 2007 13:39:13 Jordan Robison wrote:<br>&gt; I was messing with the hosts file and changed something around and I spent<br>&gt; the rest of the night trying to fix it. Here is the problem that happens<br>
&gt; every time I use sudo:<br>&gt; sudo: unable to lookup jordan via gethostbyname()<br>&gt;<br>&gt; I am not able to do anything under Su and from what it looks like is that I<br>&gt; might have to reformat unless you geniuses out there know of any better way
<br>&gt; of&nbsp;&nbsp;helping me fix this problem.<br><br>You give no indication as to what operating system you&#39;re using, but if you<br>have single-user mode, you ought to be able to boot up into that, and then<br>fix the hosts file.
<br><br>This is also a good time to develop a system of saving and storing critical<br>data files, such that if they get munged they can be restored quickly.&nbsp;&nbsp;My<br>/etc (OpenBSD) is about 8M in size, so its easy for me to make a tarball
<br>of that dir frequently.&nbsp;&nbsp;Add /var/log, /var/www and perhaps a few others<br>and you have the core of a configuration backup.<br><br>--STeve Andre&#39;<br><br>_______________________________________________<br>linux-user mailing list
<br><a href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br><a href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br></blockquote></div><br>
<br clear="all"><br>-- <br>Jordan Robison