locations is a simple script which can be used to display the locations from which users logged onto your machine from.
This was inspired by a Similar script discussed in the Perl For System Administration book from O Reilly.
By Default this script will display all the users who have logged into your Box from more than three distinct locations - this may be tweaked via the '--count=N' argument.
Alternatively you may ask for a report on all the hosts all users have logged in from, via 'locations --show'.