Operating System - HP-UX
1834618 Members
2990 Online
110069 Solutions
New Discussion

rename rlogin error message "Login incorrect"

 
SOLVED
Go to solution
Martin V.
Advisor

rename rlogin error message "Login incorrect"

Hi at all,

i want to change/rename the error message "Login incorrect" after a bad rlogin. How can i do this?
I use the hp-ux version 11.11!!
Can someone help me?

Thank you!


6 REPLIES 6
Peter Godron
Honored Contributor

Re: rename rlogin error message "Login incorrect"

Martin,
I don't think you can. You may be able to change the language via the locale comand.
Out of interest, what do you want to change it to and why ?
Martin V.
Advisor

Re: rename rlogin error message "Login incorrect"

hi peter,
thank you for your answer. i want to change the message in "Login incorrect, please try again!".
Why?
Because the error message based on a failed CDE-Login called "Login incorrect, please try again." so i want this two messages identically.
Martin V.
Advisor

Re: rename rlogin error message "Login incorrect"

but however, is there absolutely no way to change this error messages?
can i change the error message string "Login incorrect, please try again." of a bad cde-login?
please help me.

thanks
Coolmar
Esteemed Contributor

Re: rename rlogin error message "Login incorrect"

Hi Martin,

I agree with Peter - I don't think you can change the messages only the language they are reported in. I suspect the messages are built right into the code itself of CDE.

S.
Peter Godron
Honored Contributor
Solution

Re: rename rlogin error message "Login incorrect"

Martin,
I believe message is hardcoded into login binary. So, unless you either get hold of login source and recompile, or re-write the login binary...

# strings /usr/bin/login | grep incorrect
Login incorrect
Login incorrect

If you found the answers given usefull, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Martin V.
Advisor

Re: rename rlogin error message "Login incorrect"

Hi Peter,
thank you for your help. I think you were right and i have to accept it.

Thanks for help!!!!

Martin