Re: [ILUG] Solaris 2.6 & uname

From: Cormac Hogan (cormac_hogan at domain hotmail.com)
Date: Wed 31 May 2000 - 10:49:37 IST


Mark,

It looks like your 'smart-ass' has run the setuname(1m)
maintenance command to change the operating system name.

The setuname(1m) command run without the "-t" (temporary)
option will create a file /etc/rc2.d/S18setuname with
the following content:

------------------------oOo--------------------------------

# MyOS
#
# This script, generated by the setuname command,
# sets the system's system-name
#
setuname -t -s MyOS

------------------------oOo--------------------------------

To revert back to the default operating system name (SunOS):

# rm /etc/rc2.d/S18setuname

then run:

# setuname -t -s SunOS

HTH

Cormac
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:18 GMT