Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] SUSE 9.1 hostname and domain
  • From: Thorsten Kukuk <kukuk@xxxxxxx>
  • Date: Fri, 21 May 2004 09:03:10 +0200
  • Message-id: <20040521070310.GA18334@xxxxxxx>
On Thu, May 20, John Coldrick wrote:

> On Thu, 2004-05-20 at 16:45, Thorsten Kukuk wrote:
> > On Thu, May 20, John Coldrick wrote:
> >
> > >
> > > I'm having trouble getting a licensed product on a SUSE system
> > > contacting the license server(which happens to be running on Redhat
> > > 7.3). We've elminated blocked ports, etc. One thing that has been
> > > determined is that typically, if you enter:
> > >
> > > hostname
> > >
> > > on the client machine(in this case, the SUSE system), you should get a
> > > response in the form of:
> > >
> > > foo.domain.com
> >
> > hostname -f will give you the long name, hostname gives you only the
> > short one.
>
> Thanks, I understand that, but it's not the same as, say, Redhat.
> Redhat gives us the name with the full domain added on, and it's my
> understanding that hostname simple calls gethostname() to do it. What I
> suspect I need is this function call working the same way on SUSE.

Yes, Red Hat makes it different than the rest of the world (not only
different than other Linux distributors).

Thorsten

--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@xxxxxxx
SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B

< Previous Next >