There are several files under /etc that enable customization of the login process. For example, in some Countries it is important to warn the user that any activity is monitored to prevent unauthorized use. To do that it’s possible to edit /etc/issue.net as following:
-------------
W A R N I N G
-------------
THIS IS A PRIVATE COMPUTER SYSTEM.
This computer system including all related equipment,
network devices (specifically including Internet access), are
provided only for authorized use. All computer systems may be
monitored for all lawful purposes, including to ensure that
their use is authorized, for management of the system, to
facilitate protection against unauthorized access, and to
verify security procedures, survivability and operational
security.
Monitoring includes active attacks by authorized personnel and
their entities to test or verify the security of the system.
During monitoring, information may be examined, recorded,
copied and used for authorized purposes. All information
including personal information, placed on or sent over this
system may be monitored. Uses of this system, authorized or
unauthorized, constitutes consent to monitoring of this system.
Unauthorized use may subject you to criminal prosecution.
Evidence of any such unauthorized use collected during
monitoring may be used for administrative, criminal or other
adverse action. Use of this system constitutes consent to
monitoring for these purposes.
There’s also a /etc/issue file (without .net extension) that -as I understood- is used for local logins.
When the login is authorized the /etc/motd (message of the day) is displayed. It could be funny to use some random Murphy’s law for this purpose.
A less funny message file is the /etc/nologin that is used to prevent users to login and display some polite message like “System under maintenance, retry later”.
References:
- Whitepaper: Login Warning Banners A Discussion about Login/Warning Banners, Their Emplacements and Their Uses, Bob Radvanovsky
- Logon banners for computer systems and network devices, Information Security Team DePaul University
Search
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jun | Aug » | |||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Archives
Categories
- Android (3)
- Apple (27)
- Books (7)
- Eclipse (14)
- Errors (4)
- Firefox (7)
- Git (2)
- Hardware (17)
- Horror Code (8)
- Internet (21)
- Java (102)
- JavaScript (9)
- Life, universe and everything (46)
- Lifehacks (25)
- Linux (51)
- Opinions (26)
- OSX (6)
- Python (1)
- Software (31)
- Speeches and Conferences (8)
- Unix (4)
- Web (23)
- Windows (19)
Tag Cloud
Android apple architecture Bash configuration CSS Development Düsseldorf Eclipse Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux lion MacBook music Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu unix video Web Workaround XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Blog License
Blogs I like
Books on the desk
Friends' Blogs
- Antonio Terreno & Valter Bernardini
- Bruno Bossola
- Daniele Galluccio
- Domenico Ventura
- Ed Schepis
- Fabrizio Gianneschi
- Luca Grulla
- Luigi Zanderighi
- Marcello Teodori
- Mida Boghetich
- Muralidharan Chandrasekaran
- Piero Ricca
- Renzo Borgatti
- Simone Bordet
- Simone Bruno
- Uberto Barbini
- Valvolog
- Webtide blogs (Greg Wilkins & Jan Bartel)
Links




















No Responses to “Tip: displaying messages when user logs-in”
Please Wait
Leave a Reply