Boyd Adamson wrote:
> Carlton <[EMAIL PROTECTED]> writes:
>> All I want to do is change the host name on my laptop.
>>
>>  Numerous searches turn up to simply change the /etc/host file,  but it is 
>> read only and won't accept the change.
>>
>> The man pages say not to use sysidconfig manually, so I don't know if it can 
>> be done.
> 
> The *right* way is to use sys-unconfig to re-configure the net settings on
> your box. 
> 
> For some purposes that's a little over the top though.
> 
> To change the hostname without sys-unconfig there are at least 3 files
> you need to edit:
> 
> /etc/inet/hosts
> /etc/nodename
> /etc/hostname.* (where * is the name of your interface)
> 
> If you're on Solaris (rather than an OpenSolaris build) then you need to
> add
> 
> /etc/inet/ipnodes
> 
> to that list.
> 
> Note that some other apps use the name of the host for other things and
> may need updating.
> 
> Some of those files are marked read-only by default. If you're root and
> using vi you can write to them with :w! otherwise use chmod.
> 
> HTH
> 
> Boyd


What about the GUI from the GNOME menu (as root) Administration -> 
Network, and then General Settings (second tab), and just change the 
hostname there and reboot (this is a 3 month old build).

I didn't read this anywhere, but it *seemed* to work.  Any reason why 
this wasn't a good idea?


Patrick



_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to