chirale

IT and beyond

To disallow password authentication on ssh, adduser –disabled-password will not disable openSSH password. To disable the password authentication, you have to put these values on /etc/ssh/sshd_config to: PasswordAuthentication no UsePAM no PermitRootLogin no Then you’ve to: to apply changes. Connection will not be reset so before logout try to login on a different terminal to …

Continue reading

mdadm is the utility to check and report failures on RAID disks. The usual way this Linux application send its message is a plain old e-mail. In this howto you’ll find the instruction to use an external mail server with mdadm. First, replace sendmail with an external email account. After you’ve configured and tested msmtp …

Continue reading

With the General Data Protection Regulation (GDPR) enforced by European Union logs have to be cleaned regularly to delete IP addresses and other information about visitors. This can be interpreted as a way to protect an emerging and discussed right, the right to be forgotten. This new regulation is impacting every automated log system out …

Continue reading

HTTPS, encrypt via SSL / TLS

Here how you can get free SSL cerificates using Let’s Encrypt. Forget about the expire of certificates using the auto-renewal script. A complete reference to install a Let’s Encrypt certificate is this Digital Ocean’s howto. Here there’s a quick guide based on it, plus some additional suggestions. Here we go! The following code download the …

Continue reading

Download Chrome for Linux (64 bit .deb package) Install the package On shell type: $ sudo bash If you don’t have wget installed: # apt-get install wget # cd /opt/google/chrome/ # mkdir plugins Get the latest experimental Flash Player “Square” on http://labs.adobe.com/technologies/flashplayer10/square/ and then put it on Chrome plugins folder e.g. Close and restart Chrome: …

Continue reading