Changes

From SME Server
Jump to navigationJump to search
18 bytes added ,  08:05, 2 August 2016
Line 325: Line 325:     
Here is another quick script that shows you the most recent IPs banned in the logs. Note that they may have been unbanned but there is no check for this.
 
Here is another quick script that shows you the most recent IPs banned in the logs. Note that they may have been unbanned but there is no check for this.
 
+
mkdir /root/bin
  nano -w /root/IP_list.sh
+
  nano -w /root/bin/IP_list.sh
    
and copy and paste the below code into the file:
 
and copy and paste the below code into the file:
Line 345: Line 345:     
Save the file and make it executable:
 
Save the file and make it executable:
  chmod 755 /root/IP_list.sh
+
  chmod 755 /root/bin/IP_list.sh
    
Usage :  
 
Usage :  
  /root/IP_List.sh [service] [log]
+
  IP_List.sh [service] [log]
    
e.g.
 
e.g.
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu