[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ssh + chroot




	Hi,


I used openssh-2.9p2-4 from sid, recompiled for potato, it works fine. After applying the chroot patch from the contrib directory, ssh sftp scp works fine with this new version on a standard user, but with a chrooted user in his home directory, only ssh and sftp works, scp doesn't works with the following error (1012 is the correct uid of the user):

unknown user 1012
lost connection

Anyone having an Idea?

here is what I've in my home directory:


./bin
./bin/bash
./bin/cat
./bin/chmod
./bin/cp
./bin/date
./bin/df
./bin/echo
./bin/grep
./bin/gunzip
./bin/gzip
./bin/hostname
./bin/ln
./bin/ls
./bin/mkdir
./bin/mv
./bin/rm
./bin/rmdir
./bin/tar
./bin/touch
./bin/uncompress
./lib
./lib/libncurses.so.5
./lib/libdl.so.2
./lib/libc.so.6
./lib/ld-linux.so.2
./lib/libpam.so.0
./lib/libwrap.so.0
./lib/libnsl.so.1
./lib/libutil.so.1
./lib/libcrypt.so.1
./usr
./usr/bin
./usr/bin/bzip2
./usr/bin/emacs
./usr/bin/zip
./usr/bin/unzip
./usr/bin/zile
./usr/bin/scp
./usr/lib
./usr/lib/libbz2.so.0
./usr/lib/sftp-server
./usr/lib/libz.so.1
./usr/lib/libcrypto.so.0.9.5
./usr/lib/menu
./usr/lib/menu/zile
./usr/share
./usr/share/zile
./usr/share/zile/HELP
./usr/share/zile/FAQ
./usr/share/zile/LATEST_VERSION
./usr/share/zile/HELPWIN
./usr/share/zile/TUTORIAL
./usr/share/zile/AUTODOC
./etc
./etc/terminfo
./etc/terminfo/a
./etc/terminfo/a/ansi
./etc/terminfo/d
./etc/terminfo/d/dumb
./etc/terminfo/l
./etc/terminfo/l/linux
./etc/terminfo/r
./etc/terminfo/r/rxvt-m
./etc/terminfo/r/rxvt
./etc/terminfo/s
./etc/terminfo/s/screen
./etc/terminfo/s/screen-w
./etc/terminfo/s/sun
./etc/terminfo/v
./etc/terminfo/v/vt100
./etc/terminfo/v/vt102
./etc/terminfo/v/vt220
./etc/terminfo/v/vt52
./etc/terminfo/x
./etc/terminfo/x/xterm
./etc/terminfo/x/xterm-xfree86
./etc/terminfo/x/xterm-debian
./etc/terminfo/x/xterm-basic
./etc/terminfo/x/xterm-mono
./etc/terminfo/x/xterm-r5
./etc/terminfo/x/xterm-color
./etc/terminfo/x/xterm-r6
./etc/terminfo/x/xterm-vt220
./etc/terminfo/m
./etc/terminfo/m/mach-bold
./etc/terminfo/m/mach
./etc/terminfo/m/mach-color
./etc/terminfo/p
./etc/terminfo/p/pcansi
./etc/passwd




-- 
Easter-eggs                                Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com

Attachment: pgpd_cuK738w7.pgp
Description: PGP signature


Reply to: