- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Warning msg in telnet
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
07-11-2002 02:02 AM
07-11-2002 02:02 AM
can any one help me in giving a waring msg , with a confirmation do u agree or not / if yes give the prompt to work / if no logout. when doing a telnet or login into the system.
tnx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 02:14 AM
07-11-2002 02:14 AM
Re: Warning msg in telnet
Just put something like this in your /etc/issue to keep it simple without losing the objective:
By proceeding with the login, you are agreeing to the terms and conditions as stipulated ... and so forth. If you do not agree to these terms and conditions, please do not login.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 02:24 AM
07-11-2002 02:24 AM
Re: Warning msg in telnet
I agree with Steven, but, you will need to do one more thing.
To override the standard telnetd login 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
Remember to retart 'inetd' afterwards:
# /usr/sbin/inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 05:12 AM
07-11-2002 05:12 AM
Re: Warning msg in telnet
Just to add on, if you are intending to display a warning message prompt in your system profile after logging on, you should also modify /etc/csh.login in addition to /etc/profile. This is because if the login shell is csh, then /etc/csh.login is used instead of /etc/profile.
Hope this helps. Regards.
Steven Sim Kok Leong