nerdexam
IBM

000-221 · Question #24

What file needs to be modified to disable both telnet and local logins for the root UserlD?

The correct answer is D. /etc/security/user. In AIX, /etc/security/user controls per-user login attributes including whether root can log in via telnet (rlogin) or locally (login).

Security

Question

What file needs to be modified to disable both telnet and local logins for the root UserlD?

Options

  • A/etc/security/limits
  • B/etc/security/passwd
  • C/etc/environment
  • D/etc/security/user

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    16% (3)
  • C
    5% (1)
  • D
    74% (14)

Why each option

In AIX, /etc/security/user controls per-user login attributes including whether root can log in via telnet (rlogin) or locally (login).

A/etc/security/limits

/etc/security/limits defines resource constraints such as CPU time, file size, and process limits for users, not login access controls.

B/etc/security/passwd

/etc/security/passwd stores encrypted password hashes and password-related flags like ADMCHG, not login method restrictions.

C/etc/environment

/etc/environment defines system-wide environment variables such as PATH and LANG, and has no role in controlling user login permissions.

D/etc/security/userCorrect

The /etc/security/user file contains stanza-based security attributes for each user account in AIX. Setting 'login = false' disables local console and su logins for root, while setting 'rlogin = false' disables remote logins including telnet. Both attributes must be set in the root stanza of this file to fully restrict root access as described.

Concept tested: AIX root login restriction via /etc/security/user

Source: https://www.ibm.com/docs/en/aix/7.2?topic=files-etcsecurityuser-file

Topics

#root login#telnet disable#/etc/security/user#login restrictions

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice