must type a password for KPyM telnet |
nick from the Netherlands |
must type a password for KPyM telnet |
Oct 04 2008 16:31 |
|
For Telnet sessions I have to fill in a password. In a previous topic 2007 I read you can use an emty password?
This is not working at this moment.
2) Also the default_user= autologin and password= ---- in .ini file will not work.
|
nick from the Netherlands |
|
Oct 04 2008 17:48 |
|
find info on Your blog for question 2. Thanks
for user nick with password test in kpym.ini file
default_user= nick
default_password=test
nick
|
nick from the Netherlands |
|
Oct 05 2008 12:29 |
|
Kroum,
Can you confirm that one can not use an empty password in a telnet session. My windows XP passwordlenghth is 0.
nick
|
Kroum Grigorov |
|
Oct 06 2008 05:46 |
|
> Can you confirm that one can not use an empty password in a telnet session
You CAN use empty password in TELNET sessions.
You CAN NOT use empty password in SSH sessions.
If you have some security concerns you can have a look at the [url=l0c41://www.kpym.com/2/kpym/google.htm?cx=partner-pub-2923076181867689%3Awvx1zc5xe51&cof=FORID%3A11&ie=ISO-8859-1&q=allowed_login_list#721]allowed_login_list[/url] and [url=l0c41://www.kpym.com/2/kpym/google.htm?cx=partner-pub-2923076181867689%3Awvx1zc5xe51&cof=FORID%3A11&ie=ISO-8859-1&q=forbidden_login_list#146]forbiden_login_list[/url] parameters
Kroum
|
nick from the Netherlands |
|
Oct 06 2008 08:50 |
|
How to enter a blank password in ini?
default_pass=""
allowed_log_in="::"
forbidden_log_in=":test:"
Still not working.
|
Kroum Grigorov |
|
Oct 06 2008 09:52 |
|
What exactly are you trying to do?
There might be an easier way than entering blank password :)
Kroum
|
nick from the Netherlands |
|
Oct 06 2008 15:49 |
|
PC's are used as videoplayers running in sync. A control system will force pc's to shutdown at 17:00. The Belgium program powerdown will do the job on port 3210 with script :
action powerdown
doit.
It seems that the program shutdown.exe ( not the windows command shutdown) can do this also . To test we use kpym. Never used passwords in windows. Using the command controluserpasswords2 one can set windows to autologin.
But to use kpym we have to introduce a password in windows. No way to get it working without. So any help
|
Kroum Grigorov |
|
Oct 08 2008 12:56 |
|
If you will need KpyM service just to shutdown your PCs, I do not think that KpyM is the right tool to use. I would set a password to your user and then just use one of the shutdown tools available.
Anyway if you still would like to use the KpyM service here are few things that can be done.
1) you can not set blank password in default_pass, blank password here menas that no password was supplied. So this will not work.
2) you can use any telnet scripting tool to connect to your PC, login and then execute the shutdown command. When asked for password just make the script hit enter, this will do the work.
3) you can use the [url=l0c41://www.kpym.com/blog/2006/09/console-scripting-tool.html]Console Scripting Tool[/url]with this script:
________________________
SEND telnet user-pc\n
SEND \n
WAIT login
SEND test\n
WAIT password
SEND \n
WAIT C:
SEND shutdown -f -s -t 0\n
SLEEP 1
SEND exit\n
SLEEP 3
SEND \n
SEND exit\n
________________________
This will connect to the telnet host then type the login hit enter for no password and then execute "shutdown -f -s -t 0" that will force the machine to shutdown
I'll say it again, if you will use KpyM service only to shutdown remotely your PCs, I do not think this is a good idea. I would go for a shutdown tool even if I would have to set password to the PCs account.
Kroum
|
nick from the Netherlands |
|
Oct 09 2008 13:17 |
|
Thanks,
Lucky that I'am using the AMX high level script language for controlunits.
Sending to Kpym server:
IP_CLIENT_OPEN (client.port,'192.168.1.23', 3211, 1)
TIMED_WAIT_UNTIL(flag) send_string client,"10"
Feedback from Kpym server:
Data_event[client]
{STRING: if(FIND_STRING(data.text,'Press any',1)) on{flag]
|