Thanks! ------------------------ Keith Smith --- On Tue, 8/17/10, Bryan O'Neal wrote: From: Bryan O'Neal Subject: Re: Changing sftp user's home directory To: "Main PLUG discussion list" Date: Tuesday, August 17, 2010, 7:08 PM Ok. If all you care about is the users home dir you can ignore sshd and set the users home dir; as in useradd -other_option -h /some/dir. Use ACLs for file level acces conttole and set the users shell to none. Not as good as a chariot jail but some what acceptable and easy to inplament. Wish I could provide detail but I am on my blackberry rite now. On 8/17/10, Jason Holtzapple wrote: > 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. > > -- Sent from my mobile device --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss