1827238 Members
2217 Online
109716 Solutions
New Discussion

Regarding /etc/issue

 
ajk_5
Frequent Advisor

Regarding /etc/issue

Dear all,

I did make a logo in the /etc/issue file. I want to run the file that users will see it everytime they login to the unix server. How can I do it?
Thanks

Regards
Ajk
5 REPLIES 5
malay boy
Trusted Contributor

Re: Regarding /etc/issue

well that's correct.Just put some news or warning or disclaimer in the /etc/issue ,this will show upon logo.

If you need to show user after logon you can add it in the .profile file.

Picture logo ??? I'm not sure whether this can be done.

regards
mB
There are three person in my team-Me ,myself and I.
twang
Honored Contributor

Re: Regarding /etc/issue

1. add following line into /etc/inetd.conf,
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/issue
2. restart inetd,
# /sbin/init.d/inetd stop
# /sbin/init.d/inetd start
Michael Tully
Honored Contributor

Re: Regarding /etc/issue


add this entry to the line of telnet in /etc/inetd.conf

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

and rlogin as well

login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/issue

get inetd to re-read it's config file.
# inetd -c

Be careful what you place in /etc/issue. There should not be too much information. If you wish to give users messages, the /etc/motd could better ustilised.

Regards
Michael
Anyone for a Mutiny ?
Michael Steele_2
Honored Contributor

Re: Regarding /etc/issue

/etc/issue was originally called from /etc/profile but for security reasons its been taken out and added to inetd.conf:

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/issue

So use both rlogin and telnet.

inetd -c to use without reboot.

Also, be wary of adding in any sensitive information like copyrights, hostnames, ip addresses, etc.
Support Fatherhood - Stop Family Law
ajk_5
Frequent Advisor

Re: Regarding /etc/issue

Thanks Twang! It works.

Regards
Ajk