- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- login messages
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 11:28 AM
09-20-2002 11:28 AM
Any easy one... I know that motd and text files in /etc/profile are displayed once an interactive user actually logs in, but how can I modify the message that is displayed just before the login: prompt is displayed?
For instance my new system displays:
HP-UX icgsva1 B.11.00 U 9000/800 (ta)
login: g018666
Password:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 11:33 AM
09-20-2002 11:33 AM
Re: login messages
One thing you can do is modify the 'telnet' banner:
Specify a file containing a custom banner with the '-b bannerfile' option. Thus, to use '/etc/issue', modify '/etc/inetd.conf' to look like:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
Then, restart 'inetd':
# /usr/sbin/inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 11:37 AM
09-20-2002 11:37 AM
Re: login messages
You already got the answer.
/etc/issue is recommended than any other file as it displays the banner message at the console also.
You should usually keep your company specific legal|security banner in /etc/issue.
Enable it to be displayed at telnet banner using the above suggestions. Console will be automatically taken care.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 11:47 AM
09-20-2002 11:47 AM
Re: login messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2002 04:50 AM
09-21-2002 04:50 AM
Re: login messages
Put in whatever you want there. Then modify the telnet line in /etc/inetd.conf and add "-b /etc/issue" at the end of the line.