nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

Linux run a command with a time limit (timeout)

Posted: 26 Sep 2019 11:40 AM PDT

I want to start command called foo, and kill it if still running after given DURATION in seconds. How do I run a command a time Limit on Linux? How do I run a Linux command, and have it timeout (abort) after N seconds?

The post Linux run a command with a time limit (timeout) appeared first on nixCraft.

How To Protect SSH With Fail2Ban on CentOS 8

Posted: 26 Sep 2019 04:08 AM PDT

My ssh log file shows too many password failures. Random IP address trying to brute force my sshd server running on CentOS 8 server. How do I protect ssh with fail2ban on CentOS 8 Linux server? How do I install Fail2Ban on CentOS 8?

The post How To Protect SSH With Fail2Ban on CentOS 8 appeared first on nixCraft.

How To Enable and Install EPEL Repo on CentOS 8.x

Posted: 25 Sep 2019 11:37 PM PDT

How do I install the extra repositories such as Fedora EPEL repo on a CentOS Enterprise Linux server version 8.x? How to enable EPEL repo on CentOS 8.x?

The post How To Enable and Install EPEL Repo on CentOS 8.x appeared first on nixCraft.