Gentoo Archives: gentoo-user

From: Michael Schmarck <michael.schmarck@×××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: sudo displays last login time
Date: Mon, 17 Mar 2008 09:00:48
Message-Id: 6820063.DgMHvHoNuF@schmarck.cn
In Reply to: Re: [gentoo-user] sudo displays last login time by Alan McKinnon
1 Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2
3 > On Monday 17 March 2008, Michael Schmarck wrote:
4 >> Hello.
5 >>
6 >> Since "recently" (I think since 2nd half of last week), when I use
7 >> sudo on my ~x86, I get the last login time displayed:
8 >>
9 >> $ LC_ALL=C sudo ls -1
10 >> Last login: Mon Mar 17 07:12:40 CET 2008 from winnb000488 on pts/6
11 >> 10001~
12 >> [...]
13 >>
14 >> Would anyone have an idea, about why that's happening?
15 >
16 > It's a recent pam update. I updated mine on 11 March, and it's these
17 > lines from files in /etc/pam.d/:
18 >
19 > nazgul pam.d # grep pam_lastlog *
20 > login:session optional pam_lastlog.so
21 > system-login:session optional pam_lastlog.so
22
23 That's it.
24
25 Thanks a lot!
26
27 Michael
28
29 --
30 gentoo-user@l.g.o mailing list