1833847 Members
2066 Online
110063 Solutions
New Discussion

Re: changing login

 
ashish_24
Occasional Advisor

changing login

hello friends,
i want to change the login prompt of the server when anybody telnets my computer...i have made changes in the /etc/gettydefs file..i am able to change the login prompt of the console but through telnet it doesn't work... Though i have changed all the entries in it.. but still it's not working...i have also reloded gettydefs file by executing getty -c gettydefs...

plz help
thanx
5 REPLIES 5
KapilRaj
Honored Contributor

Re: changing login

/etc/issue .. i think u r looking for this one

Kaps
Nothing is impossible
twang
Honored Contributor

Re: changing login

2 steps to do it,
1. add your message to /etc/issue
2. change /etc/inetd.conf, entry for "telnet" as below:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/issue
V.Tamilvanan
Honored Contributor

Re: changing login

Hi,
For the 'telnet' banner, edit '/etc/inetd.conf' for the 'telnetd' daemon and specify the banner file you want with the -b bannerfile' option. For instance:

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

Then reconfigure inetd by

# /usr/sbin/inetd -c
ashish_24
Occasional Advisor

Re: changing login

hello friends,
i am not looking for /etc/issue file...i know about that already..... i want to change that instead of 'Login: ' something else should be written to it ... i have been succesful for doing it on the console but not for the other systems which do the telnet though i have changes all the entries in the /etc/gettydefs...


plz try once more
thanx
Juergen Tappe
Valued Contributor

Re: changing login

The /etc/gettydefs file is only responsible for any harwired connected termimals like the console is.

So: As far as I know there is no easy way to change the "login:" prompt during login prodedure except to modify the system binary /usr/bin/login.

I would NOT recommand todo that.
Working together