Share

OpenSSH on AIX

Subscribe

internal-sftp chroot requires passwd, group

  1. 2009-09-28 09:17:04 UTC

    Hi!

    I recently tried to configure a chrooted SFTP-only account using internal-sftp as follows:


    <pre> Subsystem sftp internal-sftp Match User sftpuser ChrootDirectory /sftpdir X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp

    </pre>

    This works like a charm on both Linux and FreeBSD, no further files are required within the chrooted directory if internal-sftp is used. On AIX however (using the most recent OpenSSH version: OpenSSH_5.0p1, OpenSSL 0.9.8h) this does not work. A "truss /usr/sbin/sshd -Dddd" revealed, that apparently a passwd and group file in the chroot dir (/sftpdir) are still required.

    Does anyone know any reason why AIX needs those files whereas Linux doesn't?

    Ys, Aurel Bodenmann

  2. 2009-09-30 10:02:49 UTC

    See discusion http://sourceforge.net/projects/openssh-aix/forums/forum/435031/topic/1258613

    Specially my comment ;)

  3. 2009-10-02 06:36:56 UTC

    Hi!

    Thanks for your reply, I'll check it out. It's just that it would be awesome if the official, precompiled version would already support that feature (="file-less chroot").

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.