Vincent Faliès - Artisan Codeur

Fix broken package (Debian/Ubuntu)

system linux debian package ubuntu
Reading time: 1 minute, 0 seconds

Sometimes when you install manually some packages, they are broken and the command

sudo apt --fix-broken install

does not works !

In this case, 2 steps to correct:

  1. Soft correction
sudo apt-get update --fix-missing
sudo dpkg --configure -a
sudo apt-get install -f

If the problem of a...

Continue reading...

Get crontab from all users

system linux
Reading time: 1 minute, 0 seconds

When you administrate a server, it could be interresting to list all crontab from all users declare on it.

Naturally you will not connect with each user (if you can...) to check crontab.

To simply list crontabs, connect to server iwth root user and type the following command :

for user in $(cu...

Continue reading...

Upgrade from Debian 8 Jessie to Debian 9 Stretch

system linux debian
Reading time: 3 minutes, 0 seconds

Since June 2017, Debian 9 Stretch is available in stable branch. Consequently, Debian 8 (Jessie) is tagged now oldtable and Debian 7 (Wheezy) is tagged oldoldstable.

What's new ?

After 26 months of development the Debian project is proud to present its new stable version 9 (code name Stret...

Continue reading...

SSH Keys

system security linux ssh
Reading time: 1 minute, 0 seconds

The objective of the generation and export of the SSH keys is the possibility to connect to the server without typing a login / password.

Server

On the server, .ssh directory must be present in home directory of the user used by the client. For instance, if the client use vincent account to...

Continue reading...