RE: ticlts, ticots, ticotsord ...

From: Gregory Hicks (ghicks@cadence.com)
Date: 08/09/01


Message-Id: <200108091749.f79HnoF19982@courier.cadence.com>
Date: Thu, 9 Aug 2001 10:49:50 -0700 (PDT)
From: Gregory Hicks <ghicks@cadence.com>
Subject: RE: ticlts, ticots, ticotsord ...
To: focus-sun@securityfocus.com, HeathFla@reciprocal.com

Just editing /etc/hosts went bye-bye with the demise of SunOS 4.x...

My favorite command line to change hostname without 'sys-unconfig'
(although my preferred way is to run sys-unconfig...) is as follows:

cd /etc
vi host* node* net/tic*/hosts
[6 files to edit]
[...reboot...]

That's on a one interface machine...

As Darren pointed out, there are other files that may need editing...

Regards,
Gregory Hicks

> From: Heather Flanagan <HeathFla@reciprocal.com>
> Date: Mon, 6 Aug 2001 16:00:50 -0400
>
>
> > On Sun, 5 Aug 2001, Jan-Philip Velders wrote:
> >
> > > in the midst of a major renumbering operation (3 class C
[...snip...]
>
> I'm encountering this, myself. Thing is, I'm using the same procedure
to
> change the hostname that I used with my Solaris 2.6 boxes - this new
one is
> Solaris 8. Procedure is/was:
> hostname [new name]
> vi /etc/inet/hosts
>
> This however doesn't change the hostname in those /etc/net files. Has
the
> procedure changed?
>
> -hf
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Heather Flanagan, GSEC UNIX Systems Administrator
> Reciprocal, Inc. (919) 462-4642
>

---------------------------------------------------------------------
Gregory Hicks | Principal Systems Engineer
Cadence Design Systems | Direct: 408.576.3609
555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3479
San Jose, CA 95134 | Internet: ghicks@cadence.com



Relevant Pages

  • Re: Solaris 8 - how to permamnently set static ip address instead of DHCP?
    ... The hostname is by default set to: ... I've searched the Solaris manuals and the Internet, without finding the exact Solaris system admin tools to run to handle the network setup, or which config files to modidy? ... See man sys-unconfig. ...
    (comp.unix.solaris)
  • sys-unconfig does not change hostname on solaris 8?
    ... I have a Sunfire 280R with solaris 8 02/02, i am trying to change the ... I run sys-unconfig, and it asks me alot of questions, but it does NOT ask ... for my new hostname or ip address? ...
    (SunManagers)
  • Re: setting computer name
    ... >> So, I tried using hostname to change the name of my computer, and then ... equate in "/etc/sysconfig/network". ... editing "/etc/sysconfig/network" manually. ... >> nameserver 10.25.0.1 ...
    (Fedora)
  • Re: How to get ip address from C application
    ... edited /etc/hosts file to add board's hostname and IP address. ... char *foo ... and have since BIRTH!! ...
    (comp.os.linux.embedded)
  • how to change hostname
    ... What is the debain way to change to hostname of a system. ... editing /etc/hostname is not sufficient, ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)