nerdexam
Oracle

1Z0-877 · Question #298

Your company has hired a new Java technology programmer, and the IT manager wants you to create a user account, user5, on the development server for this new employee. Account creation must abide by…

The correct answer is A. useradd -d /export/home/user5 -m -g javap -G javad -s /bin/ksh user5 B. useradd -d /export/home/user5 -m -s /bin/ksh -g javap -G javad user5. See the full explanation below for the reasoning.

Question

Your company has hired a new Java technology programmer, and the IT manager wants you to create a user account, user5, on the development server for this new employee. Account creation must abide by the following departmental rules:

Which two command-line entries will create this new account? (Choose two.)

Options

  • Auseradd -d /export/home/user5 -m -g javap -G javad -s /bin/ksh user5
  • Buseradd -d /export/home/user5 -m -s /bin/ksh -g javap -G javad user5
  • Cuseradd -d /export/home/user5 -m -s /bin/ksh -g javad -G javap user5
  • Duseradd -m -d /export/home/user5 -s /bin/ksh -g javad -G javap user5
  • Euseradd -d /export/home/user5 -m -s /sbin/ksh -g javap -G javad user5

How the community answered

(50 responses)
  • A
    74% (37)
  • C
    4% (2)
  • D
    6% (3)
  • E
    16% (8)

Community Discussion

No community discussion yet for this question.

Full 1Z0-877 Practice