linux - Who try to access root@ -


i couldn't find how can have list of ip try access root@ (it command in linux couldn't find it). , how can block ip access.

there try access root@ on server. need resolve problem.

i tried don't work :

cat access.log| awk '{print $1}' | sort | uniq -c |sort -n 

just type:

last root  

this give details of ip addresses of machines users logged in root.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -