Deutsch   English   Français   Italiano  
<lOudnaKvo8jlQuH_nZ2dnUU7_8zNnZ2d@giganews.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 12 May 2022 05:20:39 -0500
Newsgroups: fr.comp.os.linux.configuration
Subject: Aide pour scan clé usb avec Ubuntu
X-poster: PEAR::Net_NNTP v1.5.0 (stable)
From: Escros <nospam_loiclescarretdu91@gmail.com.invalid>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Organization: !No_Organization!
Message-ID: <lOudnaKvo8jlQuH_nZ2dnUU7_8zNnZ2d@giganews.com>
Date: Thu, 12 May 2022 05:20:40 -0500
Lines: 13
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-En1+pu09hS6ft4PKp3a8AlWV7Yk8hhulkHvCr7l9rn+Uy0WEZw31YbJdQyXcFsUE8T3zi3kWyhPWqdL!7xyaTKaByiZszaKbuWlVJDP78LuL9U/jvi2zDshiANvF9bYSY1TZo2lb3s5gLvAFSGPDpGwxr2f5
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 1511

Bonjour,
Je viens vers vous car je ne comprend pas tout, j'ai crée un rules dans
/etc/udev/rules.d qui fait 
ACTION=="add",KERNEL==",sd[b-z]",RUN+="/usr/local/bin/usb-scan.sh"

Dans mon script il y a 
#! /bin/bash

clamav -i -r /media/ > /tmp/Log.txt "pour avoir un log";
 /usr/local/bin/usb-scan.sh pour qu'il puisse s' exécuter 
du coup dans mon usb-scan.sh j'ai fait un chmod +x
Je branche ma clé mai rien n'est scanné pouvez-vous m'aider ?

Merci beaucoup