how do find all failed login attempts via ssh?

Answer Posted / satyadev

tail -f /var/log/secure | grep FAILED
or
lastb

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain trap command of linux?

569


What is DISM command?

511


What the command used for search file or files for specific text?

496


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

826


What is phony in makefile?

538






Write about an internal command.

593


What is mkdir?

528


What are runlevels in linux?

518


What is echo command in batch file?

585


What happens to hard link when file is deleted?

492


What is the difference between diff and cmp command in unix?

474


How do I check dns entry?

554


What command do you type to find help about the command who?

540


How can I delete a file in linux?

537


How do you copy in terminal?

555