Category Archives: howtos

CNTL when curl or wget is not enough 0

Simple retrieving from the Internet behind a proxy There’re a couple of ways to go out your company via a proxy. Most common and simple it’s to retrieve a particular web using the command curl (or wget) and include your authentication in it, for instance: curl –proxy-ntlm –proxy-user “MyDomain\ntlmtest:test” –proxy proxy.estest.intra:3128 (You may get more […]

How to tell to fail2ban what init system are you running 0

I owed myself a fail2ban installation on the Raspberry Pi. A simple view of this log tell you many things: Jun 17 07:54:15 raspberrypi systemd[1]: Starting Fail2Ban Service… Jun 17 07:54:28 raspberrypi fail2ban-client[11687]: ERROR No file(s) found for glob /var/log/proftpd/proftpd.log Jun 17 07:54:28 raspberrypi fail2ban-client[11687]: ERROR Failed during configuration: Have not found any log file […]

How do you indetify an USB and get it mounted in your Linux? 0

I’m using a RaspberryPi to enforce myself to keep learning. I’ve added an old 8Gb USB stick to the RaspberryPi. The Raspberry runs a very minimal Raspbian Strech Lite without assistants, or graphical interface, not even with the automunt command. So, how do you identify the USB stick plugged and get it mounted or your […]

How to modify every day login in Linux 0

Every time you log into a *NIX machine you are wellcomed by a text banner that varies from one *NIX to other, even among Linux distributions. If you want to customized this message it’s fairly easy, you only have to edit (as a root) the file /etc/motd and the next login will show your new […]

How to ask for root password when using sudo 0

A minimal improvement to your security is asking for a password when you allow normal users to execute privileges command via sudo. Usually, they just type their own password and that allows they to gaing privileged status to execute what you have set in sudo files. You should consider change this behaviour and ask for […]