From: Dolphin on
On Jun 10, 9:25 pm, Doug McIntyre <mer...(a)geeks.org> wrote:
> Dolphin <yc282...(a)yahoo.com.sg> writes:
> >How to restrict a user to "cd" to certain directories after user sftp
> >into the system in Solaris 10? Correct me if I'm wrong that chroot is
> >able to perform this but it requires openssh to be installed. If I
> >will to install the openssh, what will happen to the ssh that comes
> >with Solaris 10? Any other way besides chroot?
>
> How about setting up a zone instead?
>
> A little bit more involved than chroot, but it would be quite
> effective in limiting them to just the filesystems areas you want them
> to be limited to. Would be fully supported by Sun with just the stock
> software installed. You'd need additional IP addresses though for this
> option.
>
> Otherwise, you could install the newer version of openssh than what
> sun ships into any location and run it, either by shutting down the
> sun stock sshd and running up your version, or even running both
> concurrently on a different port for your users to utilize.

How to run both concurrently on different port?