Very strange one, we've got a recently build server (Sol10 via JET flash).
Bascially you can ssh to it fine, but telnet will allow entry of username, but will then feed in a carriage return on the passwd field, this also happens on any auth type command, ie passwd on a user account will also feed in CR's!! I've seen this ages ago but cannot remember what caused it, any info appreciated
A snippet of truss on passwd command:
sigaction(SIGINT, 0xFFBFB7B8, 0xFFBFB858) = 0
ioctl(3, TCGETA, 0xFFBFB8FC) Err#6 ENXIO
ioctl(3, TCSETAF, 0xFFBFB8FC) Err#6 ENXIO
New Password: write(2, " N e w P a s s w o r d".., 14) = 14
read(3, 0xFF1EC27C, 1) = 0
ioctl(3, TCSETAW, 0xFFBFB8FC) Err#6 ENXIO
write(2, "\n", 1) = 1
sigaction(SIGINT, 0xFFBFB7B8, 0xFFBFB858) = 0
close(3) = 0
getuid() = 0 [0]
open("/dev/tty", O_RDONLY) = 3
fstat64(3, 0xFFBFB740) = 0
sigaction(SIGINT, 0xFFBFB7B8, 0xFFBFB858) = 0
ioctl(3, TCGETA, 0xFFBFB8FC) Err#6 ENXIO
ioctl(3, TCSETAF, 0xFFBFB8FC) Err#6 ENXIO
Re-enter new Password: write(2, " R e - e n t e r n e w".., 23) = 23
read(3, 0xFF1EC27C, 1) = 0
ioctl(3, TCSETAW, 0xFFBFB8FC) Err#6 ENXIO
write(2, "\n", 1) = 1
Notice the \n writes!! where the hell do these come from !!!.
Ta...