From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058316041.tru64-unix-managers.marc@archive.invalid> From: "Bruce B. Platt" Date: Fri, 23 Jul 1999 20:48:44 +0000 To: tru64-unix-managers Subject: Summary: CDE Login Problems and hostname confusion X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058316041 My orginal question is below. In brief, I had asked why syslogd was using the wrong hostname, and why one couldn't get a CDE login from the system console graphics head. Thanks to: "Partin, Kevin S" "Leonard, Roger" "Dr. Tom Blinn" "Ken Lawrence" There were several things wrong with the system configuration: 1. though the machine name had been changed via the hostname field in /etc/rc.config, a new kernel configuration file had not been generated and a new kernel not built. Thus, the running kernel still had the ident information from the old hostname. 2. /etc/hosts had wrong data, and the resolver configuration had been removed. So, /etc/hosts was updated to be correct, bindsetup was run to set up the proper resolver configuration, and a new kernel config file was created by simply copying the old one to a file with the name of the new hostname and editing to ident field to be correct. Then a doconfig -c NEWHOSTNAME, mv the new kernel, and reboot. Thanks gentlemen. The original question: On a 2100 running v4.0d with patchkit 3, the /etc/rc.config file has the hostname defined as: HOSTNAME="sampleprod" When the system boots the messages in /var/adm/messages, and the /var/adm/syslog.dated file contain lines like: Jul 22 18:13:56 SAMPLENY1 automount ... The machines name used to be SAMPLENY1 until the /etc/rc.config file was changed. Also, root can log into a pty session via telnet, but not onto the graphics head. That is, only a "blue screen" login at the system console works. The system has adfvs file systems, /var inside of /usr, and no LSM. Two questions: 1. Is there anything that keeps the init sequence from setting the hsotname to that specified in /etc/rc.config? 2. Is there a relationship between the hostname syslogd is using and the inability to do a full cde login at the console? I'll summarize. Thanks and regards +--------------------------------------+ Bruce B. Platt, Ph.D. Comport Consulting Corporation 78 Orchard Street, Ramsey, NJ 07446 Phone: 201-236-0505 Fax: 201-236-1335 bbp@comport.com, bruce@ bruce.platt@ OR, bruce@bbplatt.com +---------------------------------------------------------+ Bruce B. Platt, Ph.D. Vice-President Comport Consulting Corporation 78 Orchard Street Ramsey, NJ 07446 Phone: 201-236-0505 Fax: 201-236-1335 bbp@comport.com, bruce.platt@comport.com, bruce@comport.com OR, bruce@bbplatt.com