Results 1 to 1 of 1
Is it possible to redirect a user ftp login to another directory other than their home? I'm using vsftpd on FC6. I like to redirect a local user from their ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-30-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 9
ftp login redirect
Is it possible to redirect a user ftp login to another directory other than their home? I'm using vsftpd on FC6. I like to redirect a local user from their home directory to another on ftp access only. In /etc/passwd their home directory would be /home/user but on ftp login I'd like to auto redirect and chroot them to /var/ftp/pub. I'd like this only for ftp access and a local and or samba login would put them to /home/user. Is this possible? I can't find anything about redirecting without completely changing their home in /etc/passwd. If I do that, it'll change their local, samba, and ftp access to only that directory.
Any help would be appreciated if it is possible.
Thanks.


Reply With Quote
