chgnod(1M) chgnod(1M)NAME chgnod - change current A/UX system nodename SYNOPSIS chgnod new-name [kernel-file] 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]; }; chgnod changes the nodename of the currently running kernel to new-name. kernel-file is the name of the kernel that was last booted. If you don't specify a kernel-file, /unix is assumed. nodename is a null-terminated string containing the name the system is known by on a communications network. new-name must not be longer than eight characters; longer names are truncated to eight. chgnod only changes the nodename of the kernel in memory. The next time you reboot your system, your nodename will not reflect this change. If you want to permanently change your nodename, you must edit the configuration file name.c and remake your kernel. EXAMPLE chgnod user10 /unix.current changes your nodename to user10 if /unix.current was the last kernel booted. FILES /etc/chgnod /usr/include/sys/utsname.h SEE ALSO hostname(1), uucp(1C), uname(2). April, 1990 1