What is /var/empty and why is this directory used by sshd?

1 Answer 1


It is just an empty directory, where some processes (e.g. one of sshd processes, but it could be anything else) may chroot() to ("chroot jail"). This way processes that do not need file access do not have any files to access, so their privileges cannot be abused.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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