How to read /var/log with FTP?

Firehosting

Verified User
Joined
Jan 21, 2004
Messages
33
Location
The Netherlands
Hello,

I have a costumer who wants to view the “/var/log/” directory with FTP.
I made a symbolic link from his home dir to the /var/log/ directory.

If he uses SSH he can see and read the log files, but when he uses FTP to see the files he gets an error.

How can I make this so my costumer can access and view the /var/log files on the server?
Using FreeBSD.

Thanx,
Marcel.
 
Why would you want to allow a customer to look in there. What is his reason for wanting to view files?
 
This costumer uses the whole server.
He want's to view the exim-log and some other logfiles.

No problem for me, but i can't get it work....
 
Oh lol I thought it was just one webhosting customer. Well in order to view that you will probably have to remove chroot on the ftp server. So when he logs in he will start in his home directory instead of a fake /.

So you would comment out "DefaultRoot" with a # in /etc/proftpd.conf then restart the ftp server.
 
Back
Top