- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system logon message
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
01-24-2007 08:00 AM
01-24-2007 08:00 AM
system logon message
Does anyone has such thing in place?
In OpenVMS it's possible and I want to do similar or more on HPUX.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 08:20 AM
01-24-2007 08:20 AM
Re: system logon message
I believe that you can do the same for ssh welcome and etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 08:31 AM
01-24-2007 08:31 AM
Re: system logon message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 08:31 AM
01-24-2007 08:31 AM
Re: system logon message
A reasonable approach would do something like this:
banner $(hostname) > myfile
banner "Prod" >> myfile
cat myfile >> /etc/issue
This would append the hostname and "Prod" in very large characters to the file /etc/issue. If, for exanmple, you then add -b /etc/issue to the telnetd command in /etc/inetd.conf and then do an inetd -c, you should see the banner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 08:36 AM
01-24-2007 08:36 AM
Re: system logon message
For ftp add "-l -a" to the end of the ftp line in the /etc/inetd.conf file.
For telnet add "-b /etc/issue" to the end of the telnet line in the /etc/inetd.conf file.
For rlogin add "-l -B /etc/issue" to the end of the login line in the /etc/inetd.conf file.
If you use CDE then add the following lines to /etc/dt/config/Xsession.d/0091.dthello:
#!/usr/bin/ksh
dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/issue &"
Then run this command:
chmod 755 /etc/dt/config/Xsession.d/0091.dthello
After all that change your /etc/issue file at will manually or with a script. Color, bold text, etc. depends on the term your using and would be placed into the issue file.