nerdexam
LPI

201-400 · Question #54

How would you run named inside a chroot jail as user nobody and group nogroup?

The correct answer is D. Invoke named as "named -t /var/named/root -u nobody". See the full explanation below for the reasoning.

Question

How would you run named inside a chroot jail as user nobody and group nogroup?

Options

  • AAdd "user nobody; group nogroup; chroot /var/named/root" to named.conf
  • Bnamed runs as nobody/nogroup by default, so just invoke it as "name --chroot /var/named/root"
  • CUse /usr/bin/chroot after running "chown nobody.nogroup named"
  • DInvoke named as "named -t /var/named/root -u nobody"

How the community answered

(63 responses)
  • A
    8% (5)
  • B
    13% (8)
  • C
    5% (3)
  • D
    75% (47)

Community Discussion

No community discussion yet for this question.

Full 201-400 Practice