On 2002/09/10 Tue PM 03:52:51 EDT Scott Harney wrote
<<
Try this (as root):
pico /etc/hosts
cd /etc
grep att\.net *
use pico to edit futher found files. this might not catch tehm all because
from the description below, I can't tell when or where this information
was entered. And what distribution of linux might help.
I take it this box is going direclty into a graphical workstation
login.
<<
X kept respawning too soon to get anywhere, so I reloaded RH 7.3 without reformatting anything but the swap disk. The localhost name is still netmail@att.net. In addition, I can't log in as a user--it will accept root only. Attempts to log in as user make it cycle back to the login screen, but it never says invalid user or password.
I grepped all the directories recursively and all I could find for 'netmail' was
HOSTNAME="netmail@att.net"
in
/etc/sysconfig/networking/profiles/default/network
/etc/sysconfig.network
I tried to copy all user's docs to a CD but couldn't get into his home directory as root. If I could copy them all I would just reload with reformat. Or is it safe to specify only certain partitions to be reformatted?
On Tue, Sep 10, 2002 at 03:37:03PM -0400, jdtiede@bellsouth.net wrote:
> Waiting doesn't get sendmail up, but after 5-10 minutes it times out and allows me to log in in text mode only. However, I haven't been successful in using a text-mode editor. I don't have much experience with Linux yet, but am desparate to get away from Microsoft!
> Assuming I find out how to edit, what other file needs to have the localhost name changed from 'netmail@att.net'? I only discovered this was happening when lpd refused to accept it from the system.
>
> ============================================================
> From: Scott Harney <scotth@scottharney.com>
> Date: 2002/09/10 Tue PM 01:05:47 EDT
> To: nolug@joeykelly.net
> Subject: Re: [Nolug] Localhost name problem
>
> Before recommending more radical methods of repair, have you
> tried hitting "ctrl+C" during the bootup when it gets to
> the "starting sendmail" part? This works on debian, but I don't know
> about other distro's
>
> How long have you waited for sendmail to quit churing? It might be
> that you haven't waited long enough.
>
> On Tue, Sep 10, 2002 at 01:15:16PM -0400, jdtiede@bellsouth.net wrote:
> > In getting a friend's computer to connect with his ISP, I inadvertently caused "netmail@att.net" to be inserted as localhost. I found it in sendmail.conf (which I don't even think I'm using since the machine is not networked other than using att.net) and changed it to "localhost." Now I can't get it to boot (always stops and sendmail). I have tried running a repair installation from the CD. I can't get it to boot from a floppy except for installtion purposes. I don't want to damage his data files. What can I do?
> >
> > ___________________
> > Nolug mailing list
> > nolug@nolug.org
>
> --
> Scott Harney<scotth@scottharney.com>
> ___________________
> Nolug mailing list
> nolug@nolug.org
> ============================================================
>
>
> ___________________
> Nolug mailing list
> nolug@nolug.org
-- Scott Harney<scotth@scottharney.com> ___________________ Nolug mailing list nolug@nolug.org ============================================================ ___________________ Nolug mailing list nolug@nolug.orgReceived on 09/11/02
This archive was generated by hypermail 2.2.0 : 12/19/08 EST