Lawson,

Thanks for the reply. It may have led me to some of the problems.
> > > It only gets rebuilt if it doesn't exist.  It seems odd to me that
> there
> > > is no hostname in $HOSTNAME, only a domain name.  Oh, well,
> > > 
> > > echo $HOSTNAME >/etc/HOSTNAME
> > > 
> > > and see if you like that any better.
> > 
> > Well, of course, this puts the hostname into the HOSTNAME file, but it
> > seems such file content is removed when I reboot. I guess I'll have to
> > reboot to verify this impression.
> 
> You could always look at /etc/rc.d/rc.sysinit and see what it does.

I see that while rc.sysinit says HOSTNAME=localhost as it should, this
is in an "if" clause that assigns the value only if it does not find a
/etc/sysconfig/network file. So, naturally I looked at it, and sure
enough, it says, i.a.,

NETWORKING=yes
HOSTNAME="MyDomanName.com"
DOMAINNAME=MyDomainName.com

So that's how I got domain name for a host name. Rather than delete
the file, I'll try Networking=no and put in "localhost" for
hostname. Since this is system initialization, I'll have to reboot to
try it out.

> > Sorry, you've lost me here. I start X as user using the command
> > startx. The command /etc/X11R6/bin/startx has permission for user to
> > execute, but not suid. So not clear how it can run if it can only be
> > run by root. 
> 
> I think if you will list the X server itself it might look like this:
> 
> Script started on Sun Mar 12 13:21:39 2000
> witsend:~$ ls -lLn /usr/X11/bin/X
> -rwsr-xr-x   1 0        14        2442864 Sep  1  1999 /usr/X11/bin/X

Turns out that /usr/X11R6/bin/X was -rws--x--x, but when I look at it
instead of running the command, it's actually /usr/X11R6/bin/X@ link
to Xwrapper with permissions rwxrwxrwx. But it is not suid, and so
I'll change it to that. No harm, I suspect.

> > As root I try $ whereis gfm, and get nothing. So not clear just
> > what/where the gnome executable might be.
> > 
> See what this finds:
> Script started on Sun Mar 12 13:26:43 2000
> witsend:~$ find /usr/X11/bin -perm +4000

Well this is all I got:

[root@MyDomainName /root]# find /usr/X11R6/bin -perm +4000
/usr/X11R6/bin/Xwrapper

Not clear how this pins down the gnome executable.

> In effect it is in a private network of one machine, so you can name it
> what you like.  mail software usually has an option to not use hostname
> (pine spells it use-only-domain-name) as well as a way to specify the
> domain name that goes into From: (user-domain=).  Sendmail's options are
> a bit more obscure, but it has 'em.

I use rmail and will have to look into its configuration. If I've
called my machine "localhost" elsewhere, I'd better do it here,
too. I've struggled with sendmail, and hope (think) it is set up
right.

Haines

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to