× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Don,

Am 10.06.2021 um 05:01 schrieb Don Brown via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>:

All the SFTP set up stuff I have read does not address this.
[…]
How do I lock that user to the one directory only ?

Think outside the IBM i box. As Larry pointed out, search for sftp chroot. The configuration is the same for IBM i and, say, Linux. It involves changing /etc/ssh/sshd_config and further setup. As far as I remember, the home directory itself is required to be readonly for the given user, and only subdirectories thereof are allowed to be writeable.

If you still need more instructions, feel free to ask. Not too much free time at the moment here.

The /home/user directory has
*PUBLIC *RX
USER *RWX

The /home directory has
*PUBLIC *RWX
QSYS *RWX

You can't do it with setting access rights only.

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.