Linux / UNIX Tech Support Forum
This is a discussion on Restrict access to /root to any user using ftp within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi, I want to restrict the access to /root directory to all my ftp users. I mean to say that ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I want to restrict the access to /root directory to all my ftp users. I mean to say that they should not access /root folder after loging to ftp server. Is there any entry in vsftpd.conf or any of the ftp configuration files. The users are using IE 7 to access their ftp directories. Any suggestions on this.. |
| Sponsored Links | ||
|
|
|
||||
|
By default nobody is allowed to go to /root dir. Can you tell us more about ftp server name and operating system? Is it vsftpd?
__________________
Vivek Gite Linux Evangelist |
|
|||
|
I have solved the issue. I have added the user ftproot in chroot_list file.
# You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). chroot_list_enable=YES # (default follows) chroot_list_file=/etc/vsftpd/chroot_list restart the service and user will not be able to access any other directory except his/her home directory |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| restrict a user to certain command | vikas027 | Solaris/OpenSolaris | 4 | 05-10-2009 02:17 PM |
| Mount as different User then root | khalil_noura | File Servers | 2 | 28-04-2009 12:49 AM |
| Sendmail Root User | ifti | Mail Servers | 0 | 06-02-2009 09:35 AM |
| restrict access of a user to two directories only | vikas027 | CentOS / RHEL / Fedora | 0 | 15-04-2008 05:35 PM |
| Add normal user / FTP user usein NORMAL user(non-root) | anilvrathod | Shell scripting | 0 | 07-12-2007 06:04 PM |