Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

under debian, I want to create a user who can only access to a specific folder (ie /home/user/some/folder/ (this folder already exists) , can do anything that he wants like modify, create delete a file) and no privilidge to any other stuff beside the given folder.

How can I achieve this under the standart Debian Lenny for SFTP ?

share|improve this question

2 Answers 2

If you don't want to take the hassle of setting up chroots just to lock down SFTP/SCP access, you should take a look at those two packages:

They provide you with enough options to limit several actions inside a SSH session. Both are meant for being used as a shell for selected users.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.