ceklim.sh 479 B

12345678910111213141516171819
  1. #!/bin/bash
  2. echo " "
  3. echo "===========================================";
  4. echo " ";
  5. if [ -e "/root/log-limit.txt" ]; then
  6. echo "User Who Violate The Maximum Limit";
  7. echo "Time - Username - Number of Multilogin"
  8. echo "-------------------------------------";
  9. cat /root/log-limit.txt
  10. else
  11. echo " No user has committed a violation"
  12. echo " "
  13. echo " or"
  14. echo " "
  15. echo " The user-limit script not been executed."
  16. fi
  17. echo " ";
  18. echo "===========================================";
  19. echo " ";