On 11/08/2013 06:02 AM, Greg Woods issued this missive:
On Fri, 2013-11-08 at 08:29 +0000, Ian Malone wrote:
http://www.techrepublic.com/blog/linux-and-open-source/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/
That looks a lot less kludgy than my "third party hack". I don't think
this was available when I did it (back in my Solaris days, mid-90's or
so).
You can chroot an scp user through the standard sshd_config options
"Match User" and "ChrootDirectory" options (see "man sshd_config"). You
can sort of think of it as a ssh/scp chroot jail like FTP. We do it all
the time.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- 500: Internal Fortune Cookie Error -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org