gethostbyname problem :(

Andrew Donehue andrew at donehue.net
Fri Feb 14 16:12:23 EST 2003


Thanks!
             turns out I needed

/lib/libnss_dns.so.2
/lib/libresolv.so.2

(all is now working) [thanks to strace]

Also - in regards to the other email about needing ssh config, I don't 
need that or pam - as all that is handled by the system ssh server, 
which then executes my 'chroot-shell' - I also had to recompile su to 
not use pam to get this working - but it was worth it :) -

Cheers,
             Andrew.

Martin Pool wrote:

>On 14 Feb 2003, Kim Holburn <kim.holburn at anu.edu.au> wrote:
>  
>
>>At 12:33 PM +1100 03/2/14, Andrew Donehue wrote:
>>    
>>
>>>(and etc dir)
>>>
>>>-rw-r--r--    1 root     root           27 Feb 14 11:28 group
>>>-rw-r--r--    1 root     root            8 Feb 14 11:07 hostname
>>>-rw-r--r--    1 root     root          191 Feb 14 12:06 hosts
>>>-rw-r--r--    1 root     root           58 Feb 14 11:40 passwd
>>>-rw-r--r--    1 root     root           77 Feb 14 11:49 resolv.conf
>>>
>>>Any advice on how to get gethostbyname working would be greatly
>>>      
>>>
>>appreciated :)
>>    
>>
>
>Run strace on the dameon and see which files it is failing to open.
>
>  
>


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux mailing list