Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - inetd -d: someone wants telnet -> 401421 reaped, status 0x100: (9 Items)
   
inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
telnet doesn't want to start up , I am sure that it wants to fool me :-) :

ppc target. QNX6.32

starting inetd -d

results in :


ADD : ftp proto=tcp, wait:max=0.40, user:group=root. builtin=0 server=/usr/sbin/
ftpd policy=
registered /usr/sbin/ftpd on 4
ADD : telnet proto=tcp, wait:max=0.40, user:group=root. builtin=0 server=/usr/sb
in/telnetd policy=
registered /usr/sbin/telnetd on 5
ADD : telnet proto=tcp6, wait:max=0.40, user:group=root. builtin=0 server=/usr/s
bin/telnetd policy=
ADD : phrelay proto=tcp, wait:max=0.40, user:group=root. builtin=0 server=/usr/b
in/phrelay policy=
registered /usr/bin/phrelay on 6
ADD : discard proto=tcp, wait:max=0.40, user:group=root. builtin=48049264 server
=internal policy=
registered internal on 7
ADD : discard proto=udp, wait:max=0.40, user:group=root. builtin=48049274 server
=internal policy=
registered internal on 8
FREE: telnet proto=tcp6, wait:max=0.40, user:group=root. builtin=0 server=/usr/s
bin/telnetd policy=
someone wants telnet
accept, ctrl 3
401421 reaped, status 0x100

What is the reason for this ?
Where to look ?
Howto fix ?

Thank You.
Jeevan
AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
It means telnetd exited with status code 1.

Do /etc/passwd, /etc/shadow, and /etc/groups exist?

- Thomas

> -----Ursprungliche Nachricht-----
> Von: Jeevan Mathew [mailto:community-noreply@qnx.com]
> Gesendet: 13 August 2008 14:54
> An: general-networking
> Betreff: inetd -d: someone wants telnet -> 401421 reaped, status 0x100
> 
> 
> telnet doesn't want to start up , I am sure that it wants to 
> fool me :-) :
> 
> ppc target. QNX6.32
> 
> starting inetd -d
> 
> results in :
> 
> 
> ADD : ftp proto=tcp, wait:max=0.40, user:group=root. 
> builtin=0 server=/usr/sbin/
> ftpd policy=
> registered /usr/sbin/ftpd on 4
> ADD : telnet proto=tcp, wait:max=0.40, user:group=root. 
> builtin=0 server=/usr/sb
> in/telnetd policy=
> registered /usr/sbin/telnetd on 5
> ADD : telnet proto=tcp6, wait:max=0.40, user:group=root. 
> builtin=0 server=/usr/s
> bin/telnetd policy=
> ADD : phrelay proto=tcp, wait:max=0.40, user:group=root. 
> builtin=0 server=/usr/b
> in/phrelay policy=
> registered /usr/bin/phrelay on 6
> ADD : discard proto=tcp, wait:max=0.40, user:group=root. 
> builtin=48049264 server
> =internal policy=
> registered internal on 7
> ADD : discard proto=udp, wait:max=0.40, user:group=root. 
> builtin=48049274 server
> =internal policy=
> registered internal on 8
> FREE: telnet proto=tcp6, wait:max=0.40, user:group=root. 
> builtin=0 server=/usr/s
> bin/telnetd policy=
> someone wants telnet
> accept, ctrl 3
> 401421 reaped, status 0x100
> 
> What is the reason for this ?
> Where to look ?
> Howto fix ?
> 
> Thank You.
> Jeevan
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post11731
> 
> 
Re: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
> It means telnetd exited with status code 1.
> 
> Do /etc/passwd, /etc/shadow, and /etc/groups exist?
> 
> - Thomas

Hi Thomas ,

It has been long time ago since we met the last time :-)) .

/etc/passwd
and 
/etc/shadow are present.

IMHO never needed /etc/groups for getting telnet to work.

BUT as You say this:

Here the present embedded files on the target:

[gid=0 uid=0 perms=777] /etc/passwd = {
root:x:0:0:Superuser:/root:/proc/boot/ksh}

[gid=0 uid=0 perms=777] /etc/shadow = {
root:14Ow8G7PpaoWY:1164129715:0:0}

Can it be that simply the missing linefeed is the culprit ?

Jeevan
AW: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
Yes, that could be it.
I just tried it here and get exactly what you describe.

Many of the system's text files (e.g., shell scripts, too)
require a newline character even at the end of the last 
line.

- thomas

> -----Ursprungliche Nachricht-----
> Von: Jeevan Mathew [mailto:community-noreply@qnx.com]
> Gesendet: 13 August 2008 15:19
> An: general-networking
> Betreff: Re: AW: inetd -d: someone wants telnet -> 401421 
> reaped, status
> 0x100
> 
> 
> > It means telnetd exited with status code 1.
> > 
> > Do /etc/passwd, /etc/shadow, and /etc/groups exist?
> > 
> > - Thomas
> 
> Hi Thomas ,
> 
> It has been long time ago since we met the last time :-)) .
> 
> /etc/passwd
> and 
> /etc/shadow are present.
> 
> IMHO never needed /etc/groups for getting telnet to work.
> 
> BUT as You say this:
> 
> Here the present embedded files on the target:
> 
> [gid=0 uid=0 perms=777] /etc/passwd = {
> root:x:0:0:Superuser:/root:/proc/boot/ksh}
> 
> [gid=0 uid=0 perms=777] /etc/shadow = {
> root:14Ow8G7PpaoWY:1164129715:0:0}
> 
> Can it be that simply the missing linefeed is the culprit ?
> 
> Jeevan
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post11734
> 
> 
RE: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
From: Jeevan Mathew 

> /etc/passwd = {root:x:0:0:Superuser:/root:/proc/boot/ksh}

I didn't think telnet and ftp allowed root logins.

Can you try something non-zero for uid/gid?

--
aboyd
AW: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
Hi Andrew,

in fact, telnetd does allow root logins. And it doesn't
even matter whether root requires a password.

Believe me, I just tried...

- Thomas

> -----Ursprungliche Nachricht-----
> Von: Andrew Boyd [mailto:community-noreply@qnx.com]
> Gesendet: 13 August 2008 15:24
> An: general-networking
> Betreff: RE: AW: inetd -d: someone wants telnet -> 401421 
> reaped, status
> 0x100
> 
> 
> 
> From: Jeevan Mathew 
> 
> > /etc/passwd = {root:x:0:0:Superuser:/root:/proc/boot/ksh}
> 
> I didn't think telnet and ftp allowed root logins.
> 
> Can you try something non-zero for uid/gid?
> 
> --
> aboyd
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post11737
> 
> 
RE: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
From: Thomas Haupt 

> telnetd does allow root logins. And it doesn't
> even matter whether root requires a password.

Oh, wow.

--
aboyd
AW: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
Yeah, wow. Comes in pretty handy every now and then, though...

- Thomas

> -----Ursprungliche Nachricht-----
> Von: Andrew Boyd [mailto:community-noreply@qnx.com]
> Gesendet: 13 August 2008 15:28
> An: general-networking
> Betreff: RE: AW: inetd -d: someone wants telnet -> 401421 
> reaped, status
> 0x100
> 
> 
> 
> From: Thomas Haupt 
> 
> > telnetd does allow root logins. And it doesn't
> > even matter whether root requires a password.
> 
> Oh, wow.
> 
> --
> aboyd
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post11739
> 
> 
Re: AW: AW: inetd -d: someone wants telnet -> 401421 reaped, status 0x100  
No words left. Except wow.

Your Wow.