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

rm at fabula.de rm at fabula.de
Wed Mar 13 11:18:37 MST 2002


On Wed, Mar 13, 2002 at 10:40:50AM -0700, 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


Mine has an entry like this:

#
# Enable logging and display of /var/log/lastlog login time info.
#
LASTLOG_ENAB            yes

but this might depend on your version of login.

  Ralf

> 
> 
> 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