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.
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)- A3% (1)
- B85% (34)
- C10% (4)
- D3% (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.
The /etc/motd file (message of the day) is displayed after a successful login, not before the login prompt appears.
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.
The MESG variable controls whether other users can send write messages to your terminal - it has no effect on the login screen banner.
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
Community Discussion
No community discussion yet for this question.