nerdexam
Oracle

1Z0-403 · Question #91

The user smith on server1 is trying to switch to the root account by using the su command and it fails. The contents of the /etc/pam.d/su file are shown below: [smith@server1 ~]# cat /etc/pam.d/su…

The correct answer is B. The user smith should be added as a member of the wheel group. See the full explanation below for the reasoning.

Question

The user smith on server1 is trying to switch to the root account by using the su command and it fails. The contents of the /etc/pam.d/su file are shown below: [smith@server1 ~]# cat /etc/pam.d/su #%PAM-1.0 auth sufficient /lib/security/$ISA/pam_rootok.so auth required /lib/security/$ISA pam_wheel.so use_uid auth required /lib/security/$ISA/pam_stack.so service=system-auth account required /lib/security/$ISA/pam_stack.so service=system-auth password required /lib/security/$ISA/pam_stack.so service=system-auth session required /lib/security/$ISA/pam_selinux.so close session required /lib/security/$ISA/pam_stack.so service=system-auth session required /lib/security/$ISA/pam_selinux.so open session optional /lib/security/$ISA/pam_xuath.so As a Linux administrator, what would you suggest to solve this problem?

Options

  • AThe user smith should have UID less than 500.
  • BThe user smith should be added as a member of the wheel group.
  • CThe Security Enhanced Linux (SELinux) on the system should be disabled.
  • DThe user smith should be removed from the wheel system group because the group membership does
  • EThe Pluggable Authentication Modules (PAM) control values of the modules checking the pam_stack.so

How the community answered

(61 responses)
  • A
    3% (2)
  • B
    74% (45)
  • C
    16% (10)
  • D
    5% (3)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-403 Practice