- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /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
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
09-26-2004 05:31 PM
09-26-2004 05:31 PM
/etc/issue
i want to know which command is used by getty process to display the /etc/issue file before login prompt
thanks and regards
Ramkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 05:33 PM
09-26-2004 05:33 PM
Re: /etc/issue
Getty itself is responsible for displaying the contents of this file based on the definitions in /etc/gettydefs. But this is only true for console.
getty will not come into picture for telnet. You will need to add -b /etc/issue to the telnet line in /etc/inetd.conf and refresh inetd.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 05:39 PM
09-26-2004 05:39 PM
Re: /etc/issue
Thanks for your reply but i want to know how we can get the system name ,machine models by using escape sequences which is used in the /etc/issue .example the system name :/u
version:/n date:/d
Hope u reply
Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 05:43 PM
09-26-2004 05:43 PM
Re: /etc/issue
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
Don't forget to restart inetd
# inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 05:46 PM
09-26-2004 05:46 PM
Re: /etc/issue
I am not sure if I understood your requirement. If you have an /etc/issue file, then it will overwrite the default banner displayed by telnetd or getty. /etc/issue is the only way to overwrite the banner and you will have to hardcode the model/hostname in there. There isn't anyway you can automatically generate it as it is an ascii file. Or delete the file and the corresponding process will take care of displaying the banner with hostname/model/OS etc.,
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 05:51 PM
09-26-2004 05:51 PM
Re: /etc/issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 08:38 PM
09-26-2004 08:38 PM
Re: /etc/issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2004 09:11 PM
09-26-2004 09:11 PM
Re: /etc/issue
It is a read content file so that we can not use it as shell script there.
see the permission of file 444 only. So if you want to have hostname / system informations etc there, you have to enter there, it would be display when login with console right there.
Else if you want to be display for every user then, do as,
/etc/profile
# Issue file display
[[ -f /etc/issue ]] && cat /etc/issue
so that it will be displayed to everybody.
And contents on /etc/issue are as like README file there.
HTH.