From: Dolphin on 11 Jun 2010 22:45 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?
First
|
Prev
|
Pages: 1 2 Prev: Does Solaris need MAP_NOSYNC? Next: Equivalent of "passwd -as" command in solaris / linux |