- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to display particular message before login...
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
тАО04-06-2009 05:16 AM
тАО04-06-2009 05:16 AM
In my HP-UX, I am getting following message before login prompt.
Ex:
Use of the Network is restricted to authorized users. User activity is
monitored and recorded by system personnel. Anyone using the Network
expressly consents to such monitoring and recording. BE ADVISED, if
possible criminal activity is detected, system records, along with
certain personal information, may be provided to law enforcement officials.
login:
How to set this info.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:20 AM
тАО04-06-2009 05:20 AM
Re: how to display particular message before login prompt.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1060367
There are other banners for ftp or telnet, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:20 AM
тАО04-06-2009 05:20 AM
Re: how to display particular message before login prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:32 AM
тАО04-06-2009 05:32 AM
Re: how to display particular message before login prompt.
I checked both files /etc/motd and /etc/issue.
in that nothing stored like my display message.
I am using telnet to login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 06:31 AM
тАО04-06-2009 06:31 AM
Re: how to display particular message before login prompt.
You can create a file which containing your message.The path of this file need to give with the -b option in /etc/inetd.conf file for telnet.
For Ex. I have used a file /ban
#cat /etc/inetd.conf | grep telnet
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /ban
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 08:38 AM
тАО04-06-2009 08:38 AM
Re: how to display particular message before login prompt.
http://www.unixworks.net/papers/wp-007.pdf
This is just for your knowledge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 08:56 AM
тАО04-06-2009 08:56 AM
Re: how to display particular message before login prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 09:47 AM
тАО04-06-2009 09:47 AM
Re: how to display particular message before login prompt.
Contents of the following files will be shown throughout the login process. You need to understand the use of the files and check it.
/etc/copyright -> Will display vendor specific details normally.
/etc/issue ->Generic message for the users
/etc/motd -> Message of the day(MOTD) for the users.
By default /etc/issue will be given in the inet.conf file for telnet connections. But you can use any customized files as well.
Hope this helps you.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 03:48 PM
тАО04-06-2009 03:48 PM
Re: how to display particular message before login prompt.
/etc/issue is the standard file that is displayed BEFORE the login prompt. However, you did not indicate the login method (telnet? rlogin? ssh?) which is important. Each of the methods has an option to control the pre-login message:
telnetd -b /somefile
rlogind -B /somefile
These banner file options are set in the file: /etc/inetd.conf
sshd is configured with the file /opt/ssh/etc/sshd_config. The man page is sshd_config and the kedyword is Banner. NOTE: if you aren't using the HP-packaged version, the sshd_config file may be in a different directory. Use find to locate the file (either /etc or /usr).
You may want to find the warning file first. Use find and grep like this:
find /etc -type f -exec grep -l "BE ADVISED" {} \;
The name of the file may be useful to determine where it was configured. If nothing else, you now know the name of the file -- just edit it to change the prelogin message.
Bill Hassell, sysadmin