9 lines
		
	
	
		
			386 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			386 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| aideinit  #initialisation
 | |
| /etc/cron.daily/aide  # on lance aide pour vérifier
 | |
| more /var/log/aide/aide.log  # on affiche le compte-rendu : pas de changements
 | |
| touch /etc/truc # on créée un fichier
 | |
| echo  "#########" >> /etc/hosts # on en modifie un autre
 | |
| /etc/cron.daily/aide  # on vérifie à nouveau
 | |
| more /var/log/aide/aide.log  # on constate les changements survenus ...
 |