nerdexam
LPI

117-201 · 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

(43 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    9% (4)
  • D
    84% (36)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice