Changing sftp user's home directory

Jason Holtzapple ml at bitflip.net
Tue Aug 17 13:58:17 MST 2010


On 08/17/2010 12:58 PM, keith smith wrote:
> I'm running centOS 5 something. I configure SFTP and removed FTP.  Now I
> need to add a user, lets say billybob.  By default his home directory
> would be /hone/billybob.  I need to remove that and give him access to
> only one directory within the docroot of a vhost.  Say the directory
> /home/someVhost/public_html/documents/

Unfortunately the version of openssh included in Centos 5 doesn't have
the functionality you need (specifically ChrootDirectory and friends).
One way to solve this by installing a newer copy of openssh and
disabling the old.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100817/ff390c47/attachment.pgp>


More information about the PLUG-discuss mailing list