KpyM Telnet/SSH Server - Forum
Custom Login |
J Shah |
Custom Login |
Apr 25 2007 16:36 |
|
All,
I have a custom login script that contains a call to a javascript file to validate the user login. However, when I connect to the telnet session the custom login script does run but does not execute the javascript file..it simply jumps to the code after the execution of the javascript file. Any help would be appreciated.
Thanks
|
Kroum Grigorov |
|
Apr 26 2007 18:46 |
|
Could you post here your login script and the javascript file ?
Kroum
|
J Shah |
|
May 01 2007 15:05 |
|
I did get the custom login script to work, but is there a setting in the telnet that runs the custom login script when a connection is established as was the case in the previous version of the server.
|
Kroum Grigorov |
|
May 01 2007 19:08 |
|
You can run the custom login by
1) setting the parameters in kts.ini file
default_user = "<user name>"
default_pass = "<password>"
these should be real user/pass and they are used to log the user automatically when connection starts
2) modifying scripts\allusers.bat file to call your custom login script when command prompt starts
Note that setting default_user/default_pass will work for TELNET sessions only, this will not work if you run SSH server.
|
© 2007 - 2008 Kroum Grigorov