27

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

1 Answer 1

26

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .