Om du har bes?mt dig f?r att f? mer kontroll p? din server s? kanske du har f?rs?kt f? ig?ng Aide, det gjorde jag. Ett envist fel gjorde s? att jag inte kunde starta programmet, eller r?ttare sagt, varje natt s? genererade cron-jobbet ett fel.

Det s?g ut s? h?r:

Couldn’t open file /var/lib/aide/please-dont-call-aide-without-parameters/aide.db for reading

En snabb koll i man filen s?ger att en databas m?ste initieras, och det g?r man genom att starta Aide med parametern –I eller –initialize.  Men det fungerar inte.

L?sningen ?r ?nnu enklare, k?r aideinit, det kommandor g?r all magi och initierar database. Det tar en r?tt l?ng stund, beroende p? hur mycket filer du har och har valt att ?vervaka. N?r det ?r klart s? kan du testk?ra med kommandot aide f?r att se att felmeddelandet ?r borta.

Om du inte vet vad aide ?r s? st?r det s? h?r p? programmet sida (http://aide.sourceforge.net):

What is AIDE?

AIDE (Advanced Intrusion Detection Environment) is a free replacement for Tripwire. It does the same things as the semi-free Tripwire and more.

There are other free replacements available so why build a new one? All the other replacements do not achieve the level of Tripwire. And I wanted a program that would exceed the limitations of Tripwire.

What does it do?

It creates a database from the regular expression rules that it finds from the config file. Once this database is initialized it can be used to verify the integrity of the files. It has several message digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to check the integrity of the file. More algorithms can be added with relative ease. All of the usual file attributes can also be checked for inconsistencies. It can read databases from older or newer versions. See the manual pages within the distribution for further info.

Finns som vanligt att installera med apt-get 🙂