Summary: uname -s returns hostname not SunOS

Denis Becker (denis.becker@mankato.msus.edu)
Thu, 05 Jun 1997 16:20:23 -0600

An execution of the setuname command created a file
/etc/rc2.d/S18setuname that changed the system name from SunOS to
met20. This was done in an attempt to change the hostname shortly after
we installed the computer (about 18 months ago). Removing this file
removed the problem.

Solution by Casper Dik - thanks.

> I have a lone workstation at Solaris 2.5 that does:
>
> # uname -s
> met20
> # uname -a
> met20 met20 5.5 Generic sun4m sparc SUNW,SPARCstation-20
>
> The first field in each case should be SunOS!!
>
> Any clues how to fix?
>
----------------------
Denis Becker
denis.becker@mankato.msus.edu