#!/usr/bin/bash
# [[lastlogins]] seach last logins on /etc/passwd
echo ""
echo "Derniers UID des logins de /etc/passwd"
echo "********************"
gawk -F":" '{print $3}' /etc/passwd | sort -n | tail
  • info/lastlogins.txt
  • Dernière modification: 2018/07/18 09:46
  • par radeff