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

Bryan Field-Elliot bryan_lists at netmeme.org
Wed Mar 13 11:07:16 MST 2002


Thanks all,

Actually, it turned out to be an option in "sshd_config", higher-up in
the chain than a low-level bash or mingetty thing. The option in
sshd_config is "PrintLastLog", and while I can't customize it, I can at
least turn it off (which was what I was asked to do).

Thanks,

Bryan



On Wed, 2002-03-13 at 11:18, rm at fabula.de wrote:
> 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
> _______________________________________________
> 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