nerdexam
IBM

000-221 · Question #221

What must be done to change the default AIX login screen, which is displayed before the login prompt, when a system is accessed using telnet?

The correct answer is B. Edit the herald field in the /etc/security/login.cfg file. The herald field in /etc/security/login.cfg controls the text banner displayed to users before the AIX login prompt appears on telnet sessions.

Security

Question

What must be done to change the default AIX login screen, which is displayed before the login prompt, when a system is accessed using telnet?

Options

  • AAdd the desired text to the /etc/motd file.
  • BEdit the herald field in the /etc/security/login.cfg file.
  • CUpdate the MESG environment variable in /etc/environment.
  • DAdd the LC_FASTMSG environment variable to /etc/profile.

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    85% (34)
  • C
    10% (4)
  • D
    3% (1)

Why each option

The herald field in /etc/security/login.cfg controls the text banner displayed to users before the AIX login prompt appears on telnet sessions.

AAdd the desired text to the /etc/motd file.

The /etc/motd file (message of the day) is displayed after a successful login, not before the login prompt appears.

BEdit the herald field in the /etc/security/login.cfg file.Correct

In AIX, the /etc/security/login.cfg file contains a herald attribute in the default stanza that defines the message shown before the login prompt on terminal and telnet connections. Editing this field is the correct and supported mechanism for customizing the pre-login screen. No other file or variable serves this specific purpose for the pre-authentication banner.

CUpdate the MESG environment variable in /etc/environment.

The MESG variable controls whether other users can send write messages to your terminal - it has no effect on the login screen banner.

DAdd the LC_FASTMSG environment variable to /etc/profile.

LC_FASTMSG determines whether the system uses cached message catalogs for speed - it does not influence the text shown on the login screen.

Concept tested: AIX pre-login banner configuration via herald field

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

Topics

#login banner#telnet#login.cfg#herald field

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice