cancel
Showing results for 
Search instead for 
Did you mean: 

chroot with ssh2

SUSSERE_1
Occasional Contributor

chroot with ssh2

i used ssh-chrootmgr from ssh2 and I got below error:
# ssh user@IP
user's password:
Authentication successful.
No mail.
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
Connection to @IP closed.

Please, help!
3 REPLIES
Kent Ostby
Honored Contributor

Re: chroot with ssh2

errno 2 is cannot open file.

Check to make sure that /usr/lib/dld.sl is there and readable.

Also check permissions on /usr and /usr/lib.

Should be:

ll -d /usr /usr/lib/ /usr/lib/dld.sl
drwxr-xr-x 29 bin bin 1024 Aug 1 2003 /usr/
dr-xr-xr-x 31 bin bin 6144 Feb 18 17:51 /usr/lib//
-r-xr-xr-x 1 bin bin 114688 Feb 3 1999 /usr/lib/dld.sl

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
SUSSERE_1
Occasional Contributor

Re: chroot with ssh2

I checked permissions and it's ok and i also checked permissions on /
lr-xr-xr-t lib ->/usr/lib

in /etc/passwd, I defined follow shell for user:
/bin/ssh-dummy-shell

I don't understand
Please help me!
SUSSERE_1
Occasional Contributor

Re: chroot with ssh2

to close