1850306 Members
2633 Online
104054 Solutions
New Discussion

Re: renew /etc/issue

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

renew /etc/issue

hi. ux11.11v1
Very easy points for some, I am sure.
I have editted /etc/issue file to conform with some security policies we have in place.
How do I get this file reread so that the issue message is displayed on connection to the system?

Thanks,
Maria
5 REPLIES 5
Dave Olker
Neighborhood Moderator

Re: renew /etc/issue

Hi Maria,

Are you sure you're wanting to update /etc/issue and not /etc/motd (message of the day)?

The /etc/issue text will be displayed above the prompt when people connect to the console of the system, but the /etc/motd text will be displayed immediately after the contents of the /etc/copyright file when someone logs in.

You might want to modify the /etc/motd file to include information you want your users to see upon login instead of /etc/issue.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Peter Gillis
Super Advisor

Re: renew /etc/issue

Hi Dave, Yep definitely the /etc/issue file - all to do with the security policies that have been set here.
Regards,Maria
Dave Olker
Neighborhood Moderator

Re: renew /etc/issue

Ok, well when I've modified the /etc/issue file in the past I've never had to take any additional steps to get the new text to display when the next console login occurs.

Are you seeing a case where you modify the /etc/issue file but you're not seeing the modified text when someone connects to the console of the system?

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Sundar_7
Honored Contributor
Solution

Re: renew /etc/issue

Maria,

I understand you want to display /etc/issue even for the telnet connections ?

edit /etc/inetd.conf

# vi /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -8 -b /etc/issue
#

add -b option to the telnet as "-b /etc/issue"

force inetd to re-read the config file

# inetd -c

Now /etc/issue file will be displayed for both the console and telnet logins.

Is this what you are looking for ?

-- Sundar
Learn What to do ,How to do and more importantly When to do ?
Peter Gillis
Super Advisor

Re: renew /etc/issue

Thanks Sundar - I knew it was something obvious, but I couldnt get my head to it!!! That was it exactly.
Thanks Dave also.
Regards,Maria