#!/bin/bash
# Users and logins information
# Script generated by Puppet. It's executed when you run:
# puppi info users
#
# Sources common header for Puppi scripts
. /DBA/puppet/3.0.2/etc/puppi/scripts/header || exit 10

echo_title "$HOSTNAME - Users and logins information"
show_command "who"
show_command "last"
show_command "LANG=C lastlog | grep -v 'Never logged in'"

