syslog-ng-1.6.8 compiled with GCC 3.4.2 on Solaris 2.8
syslog-ng won't write to userttys for login names that are greater than 7 characters
Equivalent functionality on syslogd works
Never used getutent until today, but ...
After using getutent a little, I've come to the conclusion that the utmp fields are not null-terminated.
Coincidently, ut_name has a size of 8
ut_user has a size of 32
The code near source file "afuser.c", line 98, seems to treat the ut_name and ut_user fields as if they were null-terminated.
Jay Patterson
OpenView Consultant
E-Mail: Jay.Patterson@T-Mobile.com
Phone: 862-812-3436