- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Displaying the hostname on an HP console prior to ...
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-09-2002 01:07 PM
07-09-2002 01:07 PM
Displaying the hostname on an HP console prior to logging in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:09 PM
07-09-2002 01:09 PM
Re: Displaying the hostname on an HP console prior to logging in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:13 PM
07-09-2002 01:13 PM
Re: Displaying the hostname on an HP console prior to logging in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:25 PM
07-09-2002 01:25 PM
Re: Displaying the hostname on an HP console prior to logging in
No reboot is necessary. Redirect the output of 'uname -a' into '/etc/issue'.
Another choice is to use 'banner $(hostname)' in addition to this. You can create a nice 23-line file that covers a standard terminal display page this way.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:29 PM
07-09-2002 01:29 PM
Re: Displaying the hostname on an HP console prior to logging in
# cd /etc
# vi issue
The file should have permission 444 (owner=bin; group=bin). Typically the content of that file can be anything you want. I have mine like so ..
Hostname jupiter [785/B2000 hpux B.11.11] (Unix Support)
No reboot is needed. You might want to double check /etc/inetd.conf, the line that has "telnetd" to make sure it calls /etc/issue for display.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:40 PM
07-09-2002 01:40 PM
Re: Displaying the hostname on an HP console prior to logging in
The "telnet" line in /etc/inetd.conf should lokk like this ..
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
The -b option tells telnet to get the banner from /etc/issue. If you need to edit /etc/inetd.conf make sure "inetd" is run afterwards to re-read its configuration.
# /usr/sbin/inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 02:14 PM
07-09-2002 02:14 PM
Re: Displaying the hostname on an HP console prior to logging in
the hostname of your server in the /etc/issue
file. Change the permissions to 444 only.
If someone is making changes to your system(s)
that you are not aware of the first thing to
implement is change the root password and see
who complains.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 06:56 PM
07-09-2002 06:56 PM
Re: Displaying the hostname on an HP console prior to logging in
This file is presented to anyone that connects to your system *before* any authentication such as login takes place. Good security dictates not to provide details about a system until after login authentication. uname -a is a common practice but provides not only the type of opsystem (HP-UX) but the revision (ie, 11.0) which is WAY too much information.
Just put the hostname, maybe a helpdesk phone number and perhaps some legal stuff. Certainly don't put the location or purpose of the machine in /etc/issue.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 09:39 PM
07-09-2002 09:39 PM
Re: Displaying the hostname on an HP console prior to logging in
redirect `uname -n` to /etc/issue
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 11:19 PM
07-09-2002 11:19 PM
Re: Displaying the hostname on an HP console prior to logging in
echo ???$(uname ???n) $(model) ??? > /etc/issue
Now You must edit in /etc/inetd.conf the following lines:
telnet ..............telnetd ???b /etc/issue
login ...............rlogind ???B /etc/issue
After these changes You must execute the command:
inetd -c
to reread the config file.
To verify try to do a telnet and ftp login.