[lug] How to remove "Last login:" line at login?

Jonathan Briggs zlynx at acm.org
Wed Mar 13 10:59:25 MST 2002


Look in /etc/issue and /etc/issue.net

I think local terminal logins use /etc/issue and remote logins use 
issue.net.
man mingetty has some information on special codes you can use in the 
issue file.  I think those codes are supported by most other daemons.

Bryan Field-Elliot wrote:

>Thanks,
>
>/etc/login.defs has some interesting stuff in it, but the welcome banner
>doesn't seem to be inside of this file (on RH7.2). Any other ideas?
>
>Thank you,
>
>Bryan
>
>
>On Wed, 2002-03-13 at 10:22, rm at fabula.de wrote:
>
>>On Wed, Mar 13, 2002 at 10:00:01AM -0700, Bryan Field-Elliot wrote:
>>
>>>When logging in via telnet or ssh to my Linux box (RH7.2), the standard
>>>greeting reads something like this:
>>>
>>>Last login: Wed Mar 13 07:46:32 2002 from
>>>12-224-118-211.client.attbi.com
>>>
>>>Could anyone tell me where the template for this prompt is stored, and
>>>where I can customize it?
>>>
>>On SuSE, Debian  and related have a look at '/etc/login.defs'.
>>No idea where RedHat keeps this.
>>
>>  Ralf
>>
>>>Thank you,
>>>
>>>Bryan
>>>
>>>
>>>_______________________________________________
>>>Web Page:  http://lug.boulder.co.us
>>>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>>>
>>_______________________________________________
>>Web Page:  http://lug.boulder.co.us
>>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>>
>
>
>_______________________________________________
>Web Page:  http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>






More information about the LUG mailing list