About this list Date view Thread view Subject view Author view Attachment view

From: bognár, attila (attila.bognar_at_netalfa.com)
Date: Sun 06 Jul 2003 - 01:58:45 BST


for the archives...

I got an idea: what if I want telnetd to run as root? it worked. I could
not login as an ordinary user (I just created my vserver and wanted to
set it up): nor by ssh, nor by telnet (run as root), could not su to a user.

googled a little bit and found that the cause was the permission of the
root directory (linuxfromscratch mailing list). (only root.root could
read and execute it).

now it works fine...

attila

bognár, attila írta:

>
>>> someone wants telnet
>>> accept, ctrl 3
>>> 2360 execl /usr/sbin/tcpd
>>> 2360 reaped, status 100
>>
>>
>>
>> could this be configured to forbid the connection or not working at
>> all? what is tcpd status 100?
>> does /usr/sbin/tcpd in the vserver exist at all?
>
>
> thank you for your reply.
>
> status 100 is given by inetd, I looked at the source:
>
> pid = waitpid(-1, &status, WNOHANG);
> if (pid <= 0)
> break;
> if (debug)
> fprintf(stderr, "%d reaped, status %x\n", pid,
> status);
>
>
> I don't know yet what it means, I am investigating.
>
> attila
>
> ps: if I call directly in.telnetd from inetd, not through tcpd, it gives
> the same status.
>
> ps: I have another vserver on another host which is working perfectly
> (and I assume others have working vservers, too...)
>
>


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 06 Jul 2003 - 02:12:37 BST by hypermail 2.1.3