Created
March 11, 2020 06:02
-
-
Save tknv/ba0a7abf153cd6ef2ebbf4f3ef57e724 to your computer and use it in GitHub Desktop.
/etc/xinetd.d/telnet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service telnet | |
{ | |
disable = no | |
socket_type = stream | |
protocol = tcp | |
port = 23 | |
user = root | |
wait = no | |
instances = 10 | |
log_type = FILE /var/log/ast | |
log_on_success += PID HOST DURATION | |
log_on_failure = HOST | |
server = /home/foo/382PyENV/bin/python | |
# server = /usr/bin/python3 | |
server_args = -OO /home/foo/hello.py | |
env = PYTHONHOME=/home/foo/382PyENV | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment