Restricting FTP Users to their home dir in vsftpd
i have a working vstpd server up, but i would like to know how to rstrict users who login using an FTP client to only see their home directory. i.e. they cannot even view anything above /home/user. this is for obvious reasons...heh.
also, if at all possible, can you restrict users to FTP logins period? like not let them telnet or ssh to the server. i think i remember reading something about chsh'ing that user to a fake shell that closes itself as soon as they logon. how exactly do i do that? |
You should NEVER create real system users. You can almost always go with virtual users. vsftpd does support virtual users so take a look at vsftpd with virtual users. Next time please consider using the SEARCH function!
|
Re: Restricting FTP Users to their home dir in vsftpd
Quote:
you can add an entry to configuration file of vsftpd (vsftpd.conf on rh9) chroot_local_user=YES or you can use virtual users as they suggests for more security...actually, i am a newbie too and have to read more about this virtual solution:D |
All times are GMT -5. The time now is 03:20 PM. |