By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,100 Members | 2,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,100 IT Pros & Developers. It's quick & easy.

Public Telnet Server?

P: n/a
Hi there. I'm a beginner at Python and I'm writing my first Python
script. It's a text adventure about coffee and mixing drinks and being
crazy and such. I keep updating it and want my friends to beta test it
for me, but some of them don't have the right version of Python or
don't want to get Python at all. Is there an easy way I can set up a
public telnet server so they can just telnet the server and play it?
If anyone could give me some options and/or advice, I'd really
appreciate it!

Dave

Aug 11 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Dave wrote:
Hi there. I'm a beginner at Python and I'm writing my first Python
script. It's a text adventure about coffee and mixing drinks and
being crazy and such. I keep updating it and want my friends to
beta test it for me, but some of them don't have the right version
of Python or don't want to get Python at all.
Sounds like Windows users. Isn't py2exe an option?

Regards,
Björn

--
BOFH excuse #339:

manager in the cable duct

Aug 11 '07 #2

P: n/a
On Sat, 11 Aug 2007 15:07:25 -0000, Dave <da*******@gmail.comwrote:
Hi there. I'm a beginner at Python and I'm writing my first Python
script. It's a text adventure about coffee and mixing drinks and being
crazy and such. I keep updating it and want my friends to beta test it
for me, but some of them don't have the right version of Python or
don't want to get Python at all. Is there an easy way I can set up a
public telnet server so they can just telnet the server and play it?
- get yourself a Unix machine with a real, routable IP address
- enable telnet (or better, ssh) access
- create a new user
- make the game this user's login shell, or let her login script
exec the game
- test it out
- distribute address, user name and password to people

"netcat ... -e the_game" may be another option.

However, the security implications of this may be serious. You should
assume these people can get local user shell access whenever they feel
like it, and use your machine for evil purposes. I trust my brother
with local access to my machines, and noone else[1].

/Jörgen

[1] Well, his two cats too, but they have never logged in so far.
Probably forgot the password, too.

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org R'lyeh wgah'nagl fhtagn!
Aug 12 '07 #3

P: n/a
On Aug 12, 2:03 pm, Jorgen Grahn <grahn+n...@snipabacken.dyndns.org>
wrote:
On Sat, 11 Aug 2007 15:07:25 -0000, Dave <davmil...@gmail.comwrote:
Hi there. I'm a beginner at Python and I'm writing my first Python
script. It's a text adventure about coffee and mixing drinks and being
crazy and such. I keep updating it and want my friends to beta test it
for me, but some of them don't have the right version of Python or
don't want to get Python at all. Is there an easy way I can set up a
public telnet server so they can just telnet the server and play it?

- get yourself a Unix machine with a real, routable IP address
- enable telnet (or better, ssh) access
- create a new user
- make the game this user's login shell, or let her login script
exec the game
- test it out
- distribute address, user name and password to people

"netcat ... -e the_game" may be another option.

However, the security implications of this may be serious. You should
assume these people can get local user shell access whenever they feel
like it, and use your machine for evil purposes. I trust my brother
with local access to my machines, and noone else[1].

/Jörgen

[1] Well, his two cats too, but they have never logged in so far.
Probably forgot the password, too.

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org R'lyeh wgah'nagl fhtagn!
Thanks for the suggestions. I'm actually on Linux and a friend helped
me enabled SSH and make the game the login script for a dummy account,
but then he was generous enough to let me put it on a spare server of
his too. :)

As for the py2exe suggestion, I actually just tried that yesterday so
now there's a Windows Executable version of the game for friends to
try as well.

Both versions are available, plus source, from http://thegriddle.net/python/
if you want to check it out. Thanks again!

Dave

Aug 20 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.