I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i can’t
login with any user of the system while everithing is runnig well with ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by default. I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow. The ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
Sebastien Cantos <scantos@technodiva.com> wrote:
I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i can’t
login with any user of the system while everithing is runnig well with ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by default. I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow. The ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
Are you running Dev.pty? telnet needs pseudo-ttys on the target system
to give the terminal interface to all the local applications.
-David
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
“David Gibbs” <dagibbs@qnx.com> a écrit dans le message de news:
atspc5$13p$1@nntp.qnx.com…
Sebastien Cantos <> scantos@technodiva.com> > wrote:
I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i
can’t
login with any user of the system while everithing is runnig well with
ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by default.
I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow. The
ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
Are you running Dev.pty? telnet needs pseudo-ttys on the target system
to give the terminal interface to all the local applications.
Yes, Dev.pty is launched and i can use a shell in a pty on the 2 boxes.
For the first problem (1/) i think the fault comes for the login utility,
but i don’t know why i can’t login. I’m used to login using phlogin and it
works well, but i’m a little affraid to try booting in console mode, because
the login binary doesn’t auth me.
This is likely telnetd want to spawn() /bin/login, and it is not there…
You can try “ln -sf sh /bin/login” see if that helps
-xtang
Sebastien Cantos <scantos@technodiva.com> wrote in message
news:atshic$afp$1@inn.qnx.com…
I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i can’t
login with any user of the system while everithing is runnig well with
ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by default. I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow. The
ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
/bin/login is installed
I have done a test:
mv /bin/login /bin/login.tmp
when i start the telnetd it outputs:
telnetd: /bin/login No such file or directory
But in my case it justs output
telnetd: No such file or directory
(without telling me wich file is missing).
Qnx is a good OS but there’s a big lack of development tools. For example
i can’t see wich syscalls are called (like strace on Linux)…
“Xiaodan Tang” <xtang@qnx.com> a écrit dans le message de news:
atsv6q$5g7$1@nntp.qnx.com…
This is likely telnetd want to spawn() /bin/login, and it is not there…
You can try “ln -sf sh /bin/login” see if that helps
-xtang
Sebastien Cantos <> scantos@technodiva.com> > wrote in message
news:atshic$afp$> 1@inn.qnx.com> …
I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i
can’t
login with any user of the system while everithing is runnig well with
ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by default.
I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow. The
ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
\
Sebastien Cantos <scantos@technodiva.com> wrote in message
news:atushi$t4h$1@inn.qnx.com…
/bin/login is installed
I have done a test:
mv /bin/login /bin/login.tmp
when i start the telnetd it outputs:
telnetd: /bin/login No such file or directory
But in my case it justs output
telnetd: No such file or directory
Have you setup inetd properly with a /etc/inetd.conf file? Double check you
permissions, file locations (login,sh,Dev.pty,telnetd). You can also use
inetd -d to see what inetd is doing.
(without telling me wich file is missing).
Qnx is a good OS but there’s a big lack of development tools. For
example
i can’t see wich syscalls are called (like strace on Linux)…
Actually there are tools to do that, monitor comes to mind.
-Adam
“Xiaodan Tang” <> xtang@qnx.com> > a écrit dans le message de news:
atsv6q$5g7$> 1@nntp.qnx.com> …
This is likely telnetd want to spawn() /bin/login, and it is not
there…
You can try “ln -sf sh /bin/login” see if that helps
-xtang
Sebastien Cantos <> scantos@technodiva.com> > wrote in message
news:atshic$afp$> 1@inn.qnx.com> …
I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i
can’t
login with any user of the system while everithing is runnig well with
ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by
default.
I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow.
The
ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
\
Try telnetd -Q It could be looking for termdef, and if Dev.pty is
running, are pseudo devices in use? Are there any free when the telnet
attempt is made?
Dave
Sebastien Cantos wrote:
/bin/login is installed
I have done a test:
mv /bin/login /bin/login.tmp
when i start the telnetd it outputs:
telnetd: /bin/login No such file or directory
But in my case it justs output
telnetd: No such file or directory
(without telling me wich file is missing).
Qnx is a good OS but there’s a big lack of development tools. For example
i can’t see wich syscalls are called (like strace on Linux)…
“Xiaodan Tang” <> xtang@qnx.com> > a écrit dans le message de news:
atsv6q$5g7$> 1@nntp.qnx.com> …
This is likely telnetd want to spawn() /bin/login, and it is not there…
You can try “ln -sf sh /bin/login” see if that helps
-xtang
Sebastien Cantos <> scantos@technodiva.com> > wrote in message
news:atshic$afp$> 1@inn.qnx.com> …
I have 2 problems while running telnetd:
1/ On my new qnx 4.25 fresh install, telnetd is running well, but i
can’t
login with any user of the system while everithing is runnig well with
ftpd.
Is there a special config to do to run telnetd ?
2/ I try to install telnetd on a box where i wasn’t install by default.
I
had uploaded inetd, socket_so, ftpd and telnetd, passwd and shadow. The
ftpd
is running well, but when i try to telnet the box, i get a message:
telnetd: no such file or directory
Conexion closed.
I think i’m missing some file … Any thoughts ?
\
You are right, the Dev.pty was running but with -n1 and i was already using
a pty when the telnet attempt is made. With -n2 everithing seems to run
well.
Thanks a lot for your help )