- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating message at login with /etc/issue
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
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
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
тАО10-31-2000 07:57 PM
тАО10-31-2000 07:57 PM
I noticed that the line for the getty program in the /etc/inittab file is as follows:-
cons:123456:respawn:/usr/sbin/getty console console # system console
Does anybody have any ideas as to how I can make this work?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2000 08:20 PM
тАО10-31-2000 08:20 PM
Solutiontelnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
The -b /etc/issue now provides the same pre-login prompt as console, serial and modem connections. You may wish to perform the same change for rlogin too:
login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/issue
Notice that rlogind requires a capital B as the banner option.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 01:15 AM
тАО11-01-2000 01:15 AM
Re: Creating message at login with /etc/issue
Also do not announce the OS as this again gives the potential hacker more information.
Your etc/issue could contain something like this
-------WARNING------
YOUR CONNECTION TO THIS MACHINE
WILL BE MONITORED AND RECORDED
UNAUTHORISED USE OR OVER
AUTHORISED USE OF THIS SYSTEM
IS FORBIDDEN
HTH
Paula

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 03:53 AM
тАО11-01-2000 03:53 AM
Re: Creating message at login with /etc/issue
sounds like you're looking for good old /etc/motd ("Message-of-the-day").
We call this in /etc/profile -if /etc/motd exists and is readable:
grep motd /etc/pr*
/etc/profile: if [ -r /etc/motd ]
/etc/profile: cat /etc/motd
Unfortunately it is just briefly mentioned in man login.
RGDS
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 04:46 AM
тАО11-01-2000 04:46 AM
Re: Creating message at login with /etc/issue
To echo both Paula and Thomas's contributions, the logic to read /etc/motd is already in /etc/profile so this is a good place to tack on your "authorized users only" notice. At my site we remind users that THEY are responsible for maintaining information confidentiality too. As Paula points out, resist, at your own risk, hanging out a welome sign!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 05:08 AM
тАО11-01-2000 05:08 AM
Re: Creating message at login with /etc/issue
As Thomas pointed out, vi /etc/motd file and put in your information there.
if [ -s /etc/motd ] ; then pg -p "Press Enter To Continue" /etc/motd; fi.
The /etc/issue file is used to hide system information and the login prompt level, you can set this up from /etc/inetd.conf file (...telnet -b /etc/issue) and put the information in /etc/issue file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 05:59 AM
тАО11-01-2000 05:59 AM
Re: Creating message at login with /etc/issue
Therefore, /etc/issue should be treated as a big security risk and only minimal inoformation provided. The typical content is:
uname -a > /etc/issue
But this provides way too much information for somebody who has not even logged in (opsystem type: HP-UX, opsystem rev: 10.20) so replace /etc/issue with minimal information, perhaps the name of the machine and if names are cryptic like A12532, then perhaps a function: parts server. Don't identify the hardware, the opsystem revision and the location! /etc/motd might contain this information since the user must provide a valid login and password to see it.
And consider replacing shells with menu programs for casual users. Not everyone needs a shell prompt. That way, nothing on /etc/profile needs to be run when the user logs in.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 02:04 PM
тАО11-01-2000 02:04 PM
Re: Creating message at login with /etc/issue
DM