chgnod(1M) chgnod(1M)NAME chgnod - changes the current A/UX system node name SYNOPSIS chgnod new-nodename [kernel-file] ARGUMENTS kernel-file Specifies the name of the kernel that was last booted. If you don't specify a kernel-file argument, /unix is assumed. new-nodename Specifies a NULL-terminated string containing the name the system is known by on a communications network. This argument must not be longer than eight characters; longer names are truncated to eight characters. DESCRIPTION chgnod accesses the structure defined in /usr/include/sys/utsname.h: struct utsname { char sysname[9]; char nodename[9]; char release[9]; char version[9]; char machine[9]; }; The chgnod command changes the node name of the currently running kernel to new-nodename. The chgnod command changes the node name only of the kernel in memory. The next time you reboot your system, your node name will not reflect this change. If you want to permanently change your node name, you must edit the configuration file name.c and remake your kernel. EXAMPLES The following command changes your node name to user10 if /unix.current was the last kernel booted. chgnod user10 /unix.current FILES /etc/chgnod Executable file /usr/include/sys/utsname.h Header file January 1992 1
chgnod(1M) chgnod(1M)SEE ALSO uucp(1C), hostname(1N) in A/UX Command Reference uname(2) in A/UX Programmer's Reference 2 January 1992