SUMMARY: changing utsname settiings

From: <>
Date: Thu Aug 23 2001 - 08:50:00 EDT
Thanks to Mike Kiernan who is awarded 1 million points for the

/usr/bin/setuname -s SunOS  [that's a new one on me, too!]

I'm stumped as to how the kernel initializes that value though.
nodename comes from /etc/nodename
version + release comes from /etc/release (I presume)
sysname comes from....??
answers on a postcard!

setuname -s worked like a charm - thanks Mike.

Original Posting:
One of my enterprise servers is giving the following output on uname :
emd1 emd1 5.6 Generic_105181-28 sun4u sparc SUNW,Ultra-Enterprise

Investigating further the sysdef shows the following values set :
* Utsname Tunables
     5.6  release (REL)
    emd1  node name (NODE)
    emd1  system name (SYS)
Generic_105181-28  version (VER)

Now I know I can change the the NODE setting by uname -S but how do I
change the SYS setting to what it should be ie SunOS.  This is causing
us some problems as we have scripts which will check these settings for
reports etc.


       Jill Ridsdale

   Network & Systems Management
   Yorkshire Electricity
   Limewood Approach
   0113 2325878 (External)

<NOTE:The information in this email is intended for the person it is addres=
sed to. If you are not the named addressee, you must not copy, distribute o=
r take any action as a result of the information in it. Yorkshire Electrici=
ty Group plc cannot give any warranties or assurances about the safety and =
content of this email and any attachments. Yorkshire Electricity Group plc =
does not accept any responsibility for viruses and it is your responsibilit=
y to scan the email and any attachments.>
Received on Thu Aug 23 13:50:00 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:02 EDT