Package: scponly
Version: 4.6-1.3
Severity: important

Hi,

the chroot script does not add the root user to the targetdir, it is needed for
chrooting, or you will get:

gnu:~# chroot /var/www/XYZ/ /usr/lib/sftp-server
No user found for uid 0

Same if I use winscp..

Adding "root:x:0:0:root:/root:/bin/bash" to targetdir/etc/passwd solves it.

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.4-xxxx-std-ipv4-32 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages scponly depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  openssh-server                1:5.1p1-5  secure shell server, an rshd repla
ii  passwd                        1:4.1.1-6  change and administer password and
ii  ssh                           1:5.1p1-5  secure shell client and server (me

scponly recommends no packages.

scponly suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to