Public bug reported:

The package 'scponly-full' includes a script to create a chrooted home
folder for users limited to scp/sftp access.

The script is provided as a GZIP located in 
/usr/share/doc/scponly-full/setup_chroot and includes two files:
 1) setup_chroot.sh
 2) config.h

The config.h file is read by setup_root.sh and contains the locations of
executables and libraries that are copied into the newly
created/chrooted home folder.

config.h is missing files needed for x86_64 compatibility, particularly
when using WinSCP to connect.  WinSCP will either fail to login [SFTP]
or fail to transfer files [SCP].

Adding the following section to /usr/share/doc/scponly-
full/setup_chroot/config.h ensures needed libraries are copied to the
correct location(s):

  /* x86_64 Ubuntu compatibility */
  #ifdef x86_64_COMPAT
  #define PROG_NSS1 "/lib/x86_64-linux-gnu/libnss_compat*"
  #define PROG_NSS2 "/lib/x86_64-linux-gnu/libnss_files*"
  #endif

** Affects: scponly (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: scponly

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1305325

Title:
  scponly 'setup_chroot.sh' missing files on x64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scponly/+bug/1305325/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to