Date: Thu, 23 Mar 1995 17:10:01 -0800 From: "Jan (Charly) Conrad" <charly@Fachschaften.TU-Muenchen.DE> To: freebsd-bugs Subject: bin/271: getty Message-ID: <199503240110.RAA02997@freefall.cdrom.com> In-Reply-To: Your message of Thu, 23 Mar 1995 23:25:30 %2B0100 <199503232225.AA00320@fssrv.fachschaften.tu-muenchen.de>
index | next in thread | previous in thread | raw e-mail
>Number: 271 >Category: bin >Synopsis: getty truncates hostname >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 23 17:10:01 1995 >Originator: Jan Conrad >Organization: Technische Universitaet Muenchen (Germany) >Release: FreeBSD 2.0-RELEASE i386 >Environment: System which hostname is longer than 32 chars >Description: getty truncates hostname after the 32th char (because it still thinks MAXHOSTNAMELEN = 32) >How-To-Repeat: hostname <long name>; kill -1 1; look at login... >Fix: Apply the following patch to subr.c in /usr/src/libexec/getty: 49a50 > #include <sys/param.h> 306c307 < char editedhost[32]; --- > char editedhost[MAXHOSTNAMELEN]; >Audit-Trail: >Unformatted:help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503240110.RAA02997>
