This is a discussion on Jailing vsftpd user to home directory within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; I have added a new user to a RHEL4 Server, and I the chroot user is uncommented and the user ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
I have added a new user to a RHEL4 Server, and I the chroot user is uncommented and the user is listed in the plain user group.
However, when the id is tried out for the customer (using winscp) using the login you can view the root contents. I want to lock the user id to only the home directory to go down but not up? Is this possible, so far I have not had any success with configuration. Any help would be greatly appreciated. |
| Sponsored Links | ||
|
|
|
||||
|
Yes it is possible, open /etc/vsftpd/vsftpd.conf and set the following to yes:
Code:
chroot_local_user=YES
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
I have this set so will restarting the services make this effective? |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| take backup of all indiviudal user dirs seperately of /home | veerkumar | Shell scripting | 4 | 01-15-2008 07:37 AM |
| sendmail and mysql/user without home directory | asim.mcp | Getting started tutorials | 0 | 07-07-2007 03:41 AM |
| Secure vsftpd FTP permissions on anonymous user uploads | nixcraft | Getting started tutorials | 6 | 12-20-2006 02:00 AM |
| using active directory user database from Solaris | ganesh | Solaris/OpenSolaris | 3 | 11-17-2005 12:04 AM |
| FreeBSD putty home key problem | chiku | All about FreeBSD/OpenBSD/NetBSD | 2 | 02-03-2005 05:10 PM |