- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I display a message to users as they log in
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
Discussions
Discussions
Forums
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
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-15-2006 01:25 AM
тАО09-15-2006 01:25 AM
How do I display a message to users as they log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 01:30 AM
тАО09-15-2006 01:30 AM
Re: How do I display a message to users as they log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 01:30 AM
тАО09-15-2006 01:30 AM
Re: How do I display a message to users as they log in
Place your message into '/etc/motd'. The file is 'cat'ed in '/etc/profile' to the user's terminal upon login if it exists.
'motd' = Message-Of-The-Day
...and is intended for uses like this.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 01:31 AM
тАО09-15-2006 01:31 AM
Re: How do I display a message to users as they log in
You can create a text meesage in the /etc/issue file, this will be displayed to the users before they login.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 01:32 AM
тАО09-15-2006 01:32 AM
Re: How do I display a message to users as they log in
before telnet login : /etc/issue
after log : /etc/copyright
Jean-Yves Picard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 01:53 AM
тАО09-15-2006 01:53 AM
Re: How do I display a message to users as they log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 01:58 AM
тАО09-15-2006 01:58 AM
Re: How do I display a message to users as they log in
Make sure that '/etc/motd' is world-readable.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 02:26 AM
тАО09-15-2006 02:26 AM
Re: How do I display a message to users as they log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 02:30 AM
тАО09-15-2006 02:30 AM
Re: How do I display a message to users as they log in
if ( -f /etc/motd ) then
cat /etc/motd # message of the day.
endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2006 02:31 AM
тАО09-15-2006 02:31 AM
Re: How do I display a message to users as they log in
Instead of /etc/profile you will need to check /etc/csh.login and see if the 'cat /etc/motd' is commented out or not.