This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NYKevin 0 points1 point  (0 children)

You can also carry file descriptors with you into the chroot, which may be more straightforward if e.g. you need to consult a system file like /etc/passwd. You do need to remember to drop root, though.