xiawj
June 14, 2005, 1:41am
1
Hello ,
I config this HP-UX workstation as the client into one NIS enviroment\(while NIS server is Solaris 5.8\) ,but I cannot telnet this HP-UX with nis account ,the error message is "Login incorrect" . I try to logon with root account ,and then I succeed in switching to the NIS account with "su " ,I also succeed in using "ypcat passwd" after logon this HP-UX workstation.
I am puzzled by this , anyone can give me a suggestion?
unix host info
# uname -a
HP-UX OMCDEV B.11.11 U 9000/800
This can be caused by using a special character in a password. Do you have either # or @ in your password?
From: man 1 stty :
Control Character Default Assignments
The control characters are assigned default values when the terminal port is opened, see termio(7). The default values used are those specified by the System V Interface Definition, Third Edition (SVID3), except for the werase and lnext control characters, which are set to _POSIX_VDISABLE to maintain binary compatibility with previous releases of HP-UX.
The default values for the control characters may be changed by a user with root capability by using stty and redirecting stdin to the device /dev/ttyconf. Any of the four command forms specified in the Description section above may be used. However, only the control character defaults will be reported or altered. It will have no effect on the defaults for any of the other modes.
From man 7 termio :
Special Characters
Certain characters have special functions on input, output, or both. Unless specifically denied, each special character can be changed or disabled. To disable a character, set its value to _POSIX_VDISABLE (see unistd(5)). These special functions and their default character values are:
...
ERASE
(#) special character on input and is recognized if ICANON (see Local Modes) is enabled. Erases the preceding character. Does not erase beyond the start of a line, as delimited by a NL, EOF, EOL, or EOL2 character. If ICANON is enabled, the ERASE character is discarded when processed. If ICANON is not enabled, the ERASE character is treated as a normal data character.
...
KILL
(@) special character on input and is recognized if ICANON is enabled. KILL deletes the entire line, as delimited by a NL, EOF, EOL, or EOL2 character. If ICANON is enabled, the KILL character is discarded when processed. If ICANON is not enabled, the KILL character is treated as a normal data character.
xiawj
June 16, 2005, 3:39am
3
Thank you very much! Yes , after I change the passwork , I can succeed in "telnet" this HP-UX workstation