nerdexam
Oracle

1Z0-100 · Question #16

Refer to the Exhibit. [root@server1 ~ # 1s -1 /usr/bin/passwd -r-x--x--x 1 root root 21200 oct 7 21:01 /usr/bin/passwd [root@server1 ~] # 1s -1 /etc/shadow -r - - - - - - - - 1 root root 1818 Mar 7…

The correct answer is B. Set SUID on /usr/bin/passwd. See the full explanation below for the reasoning.

Question

Refer to the Exhibit. [root@server1 ~ # 1s -1 /usr/bin/passwd -r-x--x--x 1 root root 21200 oct 7 21:01 /usr/bin/passwd [root@server1 ~] # 1s -1 /etc/shadow -r - - - - - - - - 1 root root 1818 Mar 7 10:31 /etc/shadow] [root@server1 ~]# A user smith is on your system complained that he is not able to change his password. As the administrator, you long-listed the passwd command and the /etc/shadow file. View the Exhibit that shows the output. What must you do to enable this user to change his password?

Options

  • ASet SGID on /usr/bin/passwd.
  • BSet SUID on /usr/bin/passwd.
  • CSet sticky bit on /usr/bin/passwd.
  • DSet read and write permission for others on /etc/shadow.
  • ESet permission on /etc/shadow to 600.

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    85% (33)
  • D
    5% (2)
  • E
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice