View previous topic :: View next topic |
Author |
Message |
meez n00b

Joined: 25 Jul 2004 Posts: 33
|
Posted: Wed Dec 14, 2005 10:12 am Post subject: chroot ssh login problem |
|
|
I used the chroot script to create chroot homes for special unsers, but there ist a probleme with one lib for bash.
Because the output from ldd /bin/bash gives me a strange output:
Code: | scripts # ldd /bin/bash
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f21000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e06000)
/lib/ld-linux.so.2 (0xb7f2a000)
|
and because of the missing col in this listing, I can't grep the right libs for creating the chroot home. This is very strange, because on an other gentoo server the script works perfect, and there the output from ldd has the missing col. What to do, to get the missing col from ldd output?
greetings,
Martin |
|
Back to top |
|
 |
dgaffuri Advocate

Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
|
Back to top |
|
 |
meez n00b

Joined: 25 Jul 2004 Posts: 33
|
Posted: Wed Dec 14, 2005 4:17 pm Post subject: not the missing linux-gate |
|
|
No, linux-gate is not the Problem.
But it shoud be:
Code: |
ldd /bin/bash
libncurses.so.5 => /lib/libncurses.so.5 (0x4001b000)
libdl.so.2 => /lib/libdl.so.2 (0x40060000)
libc.so.6 => /lib/libc.so.6 (0x40063000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
|
this line is the important one: Code: | /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) |
greetings,
Martin |
|
Back to top |
|
 |
dgaffuri Advocate

Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Wed Dec 14, 2005 8:15 pm Post subject: |
|
|
Sorry for the noise then. BTW, I've exactly the same output. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
 |
meez n00b

Joined: 25 Jul 2004 Posts: 33
|
Posted: Wed Dec 14, 2005 8:18 pm Post subject: no prob |
|
|
I solved the prob by adding this lib to my programms array, so it's copied even if it is no programm .
But why is my output from ldd /bin/bash different to to output discribed by all others?
Greetings,
Martin |
|
Back to top |
|
 |
|