
October 12th, 2007, 01:28 AM
|
 |
C Neophyte.
|
|
Join Date: Feb 2004
Location: Melbourne Australia
|
|
|
Locking low-access usr to directory?
I'm doing an assignment setting up a small ISP setup on a FreeBSD machine. We are using Unix login accounts for users to access their host space.
1 - I create users using adduser -v
2 - I add users to the group www-usr
3 - In the /usr/home/<user> dir, I add the directories www, mail and log
How do I lock the user to /usr/home/<user>? I don't want them going further up the tree than here when they use sftp to transfer files in.
Any help appreciated!
|