KpyM Telnet/SSH Server - Forum
How to hange default dir
mkarami@ejbartells.com How to hange default dir
 
After login, I need to make sure that everytime I connect to the telnet server, it goes to a specified application directory instead of C:\Program Files\KTS. How can I do this. Please advise. Thanks.

Michael Karami
mkarami@ejbartells.com


Kroum Grigorov
 
You can use the login scripts for that.
If you need that behaviour for all users change KTS\scripts\allusers.bat file.
For example adding the lines :
g:
cd g:\my_folder
will posision every user in g:\my_folder upon connection.

If you need specific folders for specific users you can create user login scripts by creating them in KTS\scripts\<username>.bat

And just a note, the user's login scripts are executed immediately after the execution of "allusers.bat" script


Trevor directories
 
is there a way to limit the person to a pecific directory?

i tried the script, with net use c: c:\home\%username%
but this just returns an error. any thoughts?


Kroum Grigorov
 
KTS is just a wrapper around the native windows command prompt.
There is no way to restrict users from KTS, instead you should use the native Windows security mechanism. One solution is to create restricted Windows user that has access to only specific folder and use that user to log in KTS.


Miso %HOMEPATH% or %USERDIR%
 
If KTS is just a wrapper around the native windows command prompt (which it appears to be everywhere I have looked), then why can't I write a allusers.bat with

c:\
cd %HOMEPATH%

and end up in my windows user directory? It should work, KTS uses %comspec% to call the console... but none of the env variables seem to work. What am I missing?


Kroum Grigorov
 
Good point :)

Actually KTS does not load User Profile when starting windows command prompt thus only System Environment Variables are loaded.

I will consider fixing this in the next KTS release.

Kroum


niviey
 
I have truly appreciated surfing around your weblog posts http://site-2293493-5961-8048.mystrikingly.com/


best CBD oil
 
Fantastic blog! Do you have any tips and hints for aspiring writers? I?m planning to start my own website soon but I?m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I?m completely overwhelmed .. Any suggestions? Many thanks!
best CBD oil https://www.riverfronttimes.com/newsblog/2020/04/22/the-best-cbd-oils-a-buyers-guide-2020


&#3648;&#3623;&am
 
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately.
เว็บดูหนังออนไลน์ https://www.mawintv.com/


low acid coffee brands
 
Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards,
low acid coffee brands https://www.espresso-international.com/low-acid-coffee/


buy more instagram follow
 
This is my first visit to your web journal! We are a group of volunteers and new activities in the same specialty. Website gave us helpful data to work.
buy more instagram followers https://plentysocial.com/buy-instagram-likes


kaygasaway
 
This article is an engaging abundance of enlightening information that is intriguing and elegantly composed. I praise your diligent work on this and thank you for this data. You have what it takes to get consideration.?
asos jobs https://getmejob.org


&#47673;&#53888;&
 
I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn?t stop reading. I am impressed with your work and skill. Thank you so much.
먹튀검증 https://mtnid88.com


nuti
 
I just joined the forum so there are so many things I don't know yet, I hope to have the help of the boards, and I really want to get to know you all on the forum. <a href="https://templerun3.co">temple run 3</a>


Glinton
 
Thanks for this post

https://pepegatwitch.hatenablog.com/entry/2020/03/06/162712?_ga=2.107052610.111959813.1583387266-2037208223.1583387266


Hein
 
Our accomplished group is available to go to all your hitting the fairway needs and give a scope of administrations including club rental, golf truck recruit, club buys and fixes.

https://5ef1ea96619cf.site123.me/blog/best-golf-rangefinder-for-the-money


seomasster
 
Your articles are inventive. I am looking forward to reading the plethora of articles that you have linked here. Thumbs up!
먹튀 https://www.lucky-toto.com


Mystarious Universe
 
Global Bizarre uncovers strange facts, conspiracy theories, unexplained mysteries, weird stuff,and esoteric knowledge within our mysterious universe.
Mystarious Universe https://globalbizarre.com/


&#47673;&#53888;&
 
Muktupolis is a community that has been created for safety on the Toto site. We will always do our best to become the No. 1 community in the industry.
먹튀폴리스 https://muktipolice.net


fdshsfd
 
This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. 안전놀이터


jonnybaba1
 
There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. Thank you for your clear information. ดูหนังใหม่ออนไลน์


jonnysines
 
Having a website in addition to offline exposure can help you rise even higher toward your success goal. marketing 1 on 1


jonnysines
 
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. buy facebook page likes cheap


uzaira876
 
Excellent post. I was always checking this blog, and I?m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended. Mariobet


jhonsins03
 
I am definitely enjoying your website. You definitely have some great insight and great stories. buy views


 

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