See last login datetimes on a RedHat Linux server

$ cat

# Name of the server to be prepended to each line?

# Nothing user-editable below
NOW=`date '+%Y%m%d'`

# Create or Empty the file

lastlog | awk -v server="$SERVER" '{print server " " $0 "\n"}' | tr -s '\n' > $FILENAME

Gives output like below. I don't see a flag in lastlog that turns off headers.

R18-PRMY Username         Port     From             Latest
R18-PRMY cms              pts/14          Mon Dec 18 16:59:22 -0500 2017