On Monday 17 March 2008, Michael Schmarck wrote:
> Hello.
>
> Since "recently" (I think since 2nd half of last week), when I use
> sudo on my ~x86, I get the last login time displayed:
>
> $ LC_ALL=C sudo ls -1
> Last login: Mon Mar 17 07:12:40 CET 2008 from winnb000488 on pts/6
> 10001~
> [...]
>
> Would anyone have an idea, about why that's happening?

It's a recent pam update. I updated mine on 11 March, and it's these 
lines from files in /etc/pam.d/:

nazgul pam.d # grep pam_lastlog *
login:session    optional       pam_lastlog.so
system-login:session            optional        pam_lastlog.so


If you want to get rid of the last login notice, just comment out those 
two lines



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to