The program vsftpd, running in a chroot jail, gives the following error:



/bin/vsftpd: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory.

Which of the following actions would fix the error?

A. The file /etc/ld.so.conf in the root filesystem must contain the path to the appropriate lib directory in the chroot jail
B. Create a symbolic link that points to the required library outside the chroot jail
C. Copy the required library to the appropriate lib directory in the chroot jail
D. Run the program using the command chroot and the option--static_libs

題解

「chroot」為「change root directory」,「chroot jail」就是把使用者的根目錄鎖定(在某個目錄下)的意思,藉由「chroot」可以讓使用者無法觸及到比根目錄還要更上層的檔案。

所以答案是選項「C」。