Re: Changing sftp user's home directory

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Jason Holtzapple
Päiväys:  
Vastaanottaja: Main PLUG discussion list
Aihe: Re: Changing sftp user's home directory
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.

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