KpyM Telnet/SSH Server - Forum
user account
Sam user account
 
1. Can I run Kpym while Windows-XP has no user account ?

2. I tried Kpym after I add user account in Windows-XP, some PC OK, but some didn't, when I login it will show ????? message after I type CORRECT password, I am sure the password is correct, why ?

3. How Kpym ignore the Windows-XP user account, just set user account in Kpym itself, is it possible ?


Sam default user and pass
 
May I know what's the default_user and default_pass use for ?


Kroum Grigorov
 
1. Can I run Kpym while Windows-XP has no user account ?

No you need valid windows user and password to login.


2. I tried Kpym after I add user account in Windows-XP, some PC OK, but some didn't, when I login it will show ????? message after I type CORRECT password, I am sure the password is correct, why ?

There are number of reason that can prevent you from logging:
- if the password has non english characters, they won't be send correctly and you won't be able to login.
- the user account must have "Login locally" system rights.
- you can check the log in KTS/log directory for more information.



3. How Kpym ignore the Windows-XP user account, just set user account in Kpym itself, is it possible ?

No, there are no KpyM user accounts, you should use windows account.

4. May I know what's the default_user and default_pass use for ?

These are used to log you automatically upon connection. If you fill them you won't be asked for username and(or) password, however they should be of valid user account as they are checked the same way KTS checks the user login and password.


Fr3ddie Internal User/Pass
 
>> How Kpym ignore the Windows-XP user account, just set user account in Kpym itself, is it possible ?

> No, there are no KpyM user accounts, you should use windows account.

Will we have the opportunity of using "internal" user/pass couple instead of windows account, in future releases?
This is a big limit for me and, I think, for many people...
Thank You,

Fr3ddie


Kroum Grigorov
 
I've been thinking in the past on adding internal KTS users, but I did not see any advantages on using internal users rather than windows users.
In both cases, speaking of security, you have the security rights of either the logged user (win user) or the running KTS process (internal user). Applying enough security on win user and adding only these secured users in [KTern]:allowed_login_list will grant you that none except the users in the list would log in. This breaks the possibility that someone logs in your box as administrator for ex., but in the same time gives you the power to customize each user rights (folder access, etc). If we use internal users, than each user will have the same security rights of the running KTS process, no way to set per user rights, unless I also write some kind of custom security manager, which I'm not interested in and which looks more like a "hack" than a useful feature to me.
Another disadvantage of internal users is that their passwords even though encrypted would be stored using some custom made algorithm. Naturally, I would try to code that algorithm as secure as possible, but there is always risk of introducing bugs, which could be fatal dealing with such sensible matter.



Now looking at my previous post, I realize that I was partially wrong. We still have internal user, but rather these are external KTS users.
Here is what I mean:
You can set KTS to log you in automatically using the default_user and default_pass parameters (note that these are stored as clear text so you better apply some security restriction on kts.ini file), you will be logged as the user given in default_user.
You can create some custom user/pass checking app/script and parameter it to start automatically upon login.
Then when logged the app will start and ask you for your "internal" user/pass, if these are good just start command prompt (or whatever shell you want) if user/pass are bad, just exit the app, the session will die automatically.

Here is a simple batch script that demonstrates what you have to do in the app, create that one in KTS\scripts directory to test.

internal_check.bat:
@echo off
rem read user/pass
set /p user=user(use internal):
set /p pass=pass(use Internal):

rem check user/pass
if not "%user%" == "internal" exit
if not "%pass%" == "Internal" exit

rem start the shell
%comspec%

Here is a step by step guide how to parameter the script to do the "internal" user check.
1) Using KTS setup fill in [KTerm]:default_user and [KTerm]:default_pass with valid winnt user/pass (this is the user to log in)
2) Change [KTerm]:shell_command parameter to %COMSPEC% /C "scripts\internal_check.bat", this will start the check script.
3) Restart KTS


Final note 1:
If someone is interested in creating descent "internal user" check app (as the one described above), I am willing to link to it from KTS page.
Final note 2:
Although I am not a fan of "internal" users, I am still wiling to add that feature giving there is enough interest in it, despite the "external" user solution, that I propose.
Final note 3:
I'm open for discussin on internal users.


N2KMaster Drop files?
 
Is there a way to record the username and password to a simple drop file say something like this

dropfile.wtf
------------
USERNAME
PASSWORD
Time logged in
Time logged out

I'm looking into this idea for the reason i want to make an online game(already setup the telnet java script for it) I need the drop file so the username and password carry over into the game, kinda like a door game if you will.


randomperson Login Help
 
Why won't it let me login. When I connect it asks for "Login:" in which I put my windows login id, and then it asks for "Password:". It doesn't display what I'm typing and when I put in my windows password it says it is wrong. What am I doing wrong?


Kroum Grigorov
 
> It doesn't display what I'm typing
This is OK

Make sure you are typing your login and password correctly(these are the same you use to log in your windows).
Check the kts log file (c:\program files\kts\log\kts-log.txt) for more details.

You might want to have a look at these topics for more info on login problems:
http://www.kpym.com/phpbb/viewtopic.php?t=219
http://www.kpym.com/2/kpym/faq.htm
http://www.kpym.com/phpbb/viewtopic.php?t=27
http://www.kpym.com/phpbb/viewtopic.php?t=74

Kroum


Dave The Mighty User
 
I know this conversation is old, but I would like to see internal users. They would be very useful to me and I would appreciate it if that was added as a feature.


Balajibalu
 
network not properly working,
it is always gives trailblazing.
please check it, and solve the problem.


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group