12345678910111213141516171819 |
- #!/bin/bash
- echo " "
- echo "===========================================";
- echo " ";
- if [ -e "/root/log-limit.txt" ]; then
- echo "User Who Violate The Maximum Limit";
- echo "Time - Username - Number of Multilogin"
- echo "-------------------------------------";
- cat /root/log-limit.txt
- else
- echo " No user has committed a violation"
- echo " "
- echo " or"
- echo " "
- echo " The user-limit script not been executed."
- fi
- echo " ";
- echo "===========================================";
- echo " ";
|