Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 19:59:03 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sudo "last login" message and how to turn it off FreeBSD8.0
Message-ID:  <4C23AAF7.1080600@infracaninophile.co.uk>
In-Reply-To: <201006241841.o5OIf4BU089418@dc.cis.okstate.edu>
References:  <201006241841.o5OIf4BU089418@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/06/2010 19:41:04, Martin McCormick wrote:
> 	When one executes a sudo command, I get a "last login"
> message which reflects the last time I ran sudo. Example:

> 	Any ideas as to what to look at?

/usr/local/etc/pam.d/sudo probably.  The 'last login' message usually
comes from login(1), but I don't see why sudo(8) would invoke login
unless you were running 'sudo -i ...'

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwjqvcACgkQ8Mjk52CukIwujgCeMHtly4qM+OBb0DeuqkhEW6se
syAAniA6VgJ86bUgWHS90TVDb9d73i1k
=gz+A
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C23AAF7.1080600>