469,299 Members | 2,085 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

Public Telnet Server?

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
3 8045
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
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
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.

Similar topics

5 posts views Thread by G520 | last post: by
1 post views Thread by kumar | last post: by
3 posts views Thread by Yannick Turgeon | last post: by
4 posts views Thread by Donnal Walter | last post: by
1 post views Thread by luvic.vangool | last post: by
2 posts views Thread by b00x | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.