sudo "last login" message and how to turn it off FreeBSD8.0

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jun 24 18:59:28 UTC 2010


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


More information about the freebsd-questions mailing list