Setting SFTP access to only home directory without using ZFS

Status
Not open for further replies.

Northwinds

Dabbler
Joined
Aug 6, 2013
Messages
30
Hi all

I'm basically trying to do what this article describes:
http://doc.freenas.org/index.php/SSH#Chrooting_SFTP_users
but as I am only using UFS I cannot follow point 1 of
"Chrooting Command Line SFTP Users"

as I cannot
"1. Create a ZFS dataset for each user requiring sftp access in Storage → Volumes."

Any ideas please?

 
D

dlavigne

Guest
I'm not sure if this can be easily done in UFS. You could try the instructions using a subdirectory for each user (instead of a dataset) and report back if that worked.
 

Northwinds

Dabbler
Joined
Aug 6, 2013
Messages
30
Thanks for the reply!
I did try what you suggested using steps 5 and 6 of the guide but unfortunately it didn't work :-(
 
D

dlavigne

Guest
Define "didn't work". Are users seeing outside of their own subdirectory? If so, what are the permissions on the parent subdirectory?
 

Northwinds

Dabbler
Joined
Aug 6, 2013
Messages
30
followed the instructions but sftp access won't work at all
 
Status
Not open for further replies.
Top