Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using proftpd and on every login I get the following message:

Apr  4 08:26:23 
mydomain proftpd[4240]: 
mydomain.com (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - 
FTP session opened. 

Apr  4 08:26:23 
mydomain proftpd[4240]: 
mydomain.com (xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx]) - 
Preparing to chroot to directory 'path-to/domain' 

Can anyone explaom to me what this means. Everything works fine however, the are no other messages except for these 2.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

chroot is an operating system call that restricts an application to be able to access only a subset of the filesystem -- in effect, that part of the filesystem becomes the root, which it can't see outside of.

This is done for security reasons, to create a "jail" which an FTP client can't see beyond.

share|improve this answer
    
So there is no problem with this message, I however previously not got them, only the last few days –  Saif Bechan Apr 4 '10 at 6:57
    
@Saif - correct, it is normal and expected for any security-conscious FTP daemon to be using chroot. I can only speculate on why you wouldn't have seen this in the past -- security update impacting the logging code? log settings change? etc. –  Charles Duffy Apr 4 '10 at 7:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.