Changing sftp user's home directory

keith smith klsmith2020 at yahoo.com
Tue Aug 17 13:49:52 MST 2010


Okay that was it.  Now I need to limit that user to that one directory.  Would that be some kind of chroot?

------------------------

Keith Smith

--- On Tue, 8/17/10, Eric Cope <eric.cope at gmail.com> wrote:

From: Eric Cope <eric.cope at gmail.com>
Subject: Re: Changing sftp user's home directory
To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
Date: Tuesday, August 17, 2010, 1:06 PM

Can you change the user's ssh home directory to the vhost's directory? SFTP uses SSH's home directory if I recall correctly...

Eric

On Tue, Aug 17, 2010 at 12:58 PM, keith smith <klsmith2020 at yahoo.com> wrote:






Hi,

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/



I only want billybob to have access to the directory documents.  I've search google, however I am not finding the answer.

Any help much appreciated.


------------------------

Keith Smith


      
---------------------------------------------------

PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us

To subscribe, unsubscribe, or to change your mail settings:

http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



-----Inline Attachment Follows-----

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100817/4e6614fd/attachment.html>


More information about the PLUG-discuss mailing list