Dzima USB yekuchengetedza muLinux

USB mukati

Kune nzira dzinoverengeka dzekudzima chengetedzo pane yakasungirwa midhiya uchishandisa USB chiteshi yekomputa yako, iyi inogona kunge iri mhinduro yakanaka kana tichida kudzivirira mamwe marudzi ekurwiswa kubva mukukanganisa system yedu kuburikidza nerudzi urwu rwechigadzirwa, asi inogona zvakare kushanda senzira yekuyedza kudzikisira kugona kweimwe komputa kana tikadaro. vasingade kuti vamwe vashandise chimiro ichi nekuda kwechimwe chikonzero. Huye, pakati penzira pane dzimwe dzakanyanya, senge kubvisa chaiko Linux kernel USB madhiraivha (ma module). Mune mamwe mazwi, bvisa iyo usb_storage.ko faira, inova iyo module inoshanda semutongi weizvi zvishandiso.

Asi kana isu tichida isina kunyanyisa mhinduro, tinogona kushandisa dzimwe nzira dzekuenderera kuitira kuti zvishandiso izvi zvisashande mune yedu distro. Idzi zvakare inzira dzakareruka dzekushandisa uye idzo dzinowanzo shanda, kunyangwe dzisingakanganise ... Semuenzaniso, tinogona kushandisa chaiko mudziyo / bin / ichokwadi kutibatsira nechinonzi "Fake Install", kuenderera isu zvakapusa unofanirwa kugadzira nekuvhura faira inonzi block_usb.conf mukati me /etc/modprobe.d/ dhairekitori uko kernel modules akachengetwa.

Kana izvo zvangoitwa tinokwanisa kuwedzera zvinotevera mukati mukati tichishandisa chinyorwa chemunyori chatinonyanya kufarira:

install usb-storage /bin/true

Iye zvino isu tinochengeta iyo faira iyo isu tangogadzira uye voila, isu tichava nechirambidzo che USB chengetedzo zvishandiso. ziso! Nekuti mamwe ese madivayiri e USB anoenderera achishanda zvakajairika. Edza kushanda, sezvo ini ndanzwa vamwe vashandisi vachiti haina kuvashandira ...

Imwe nzira ndeyekugadzira iyo demaNezve izvo isu tichagadzira iyo faira inonzi blacklist.conf mukati /etc/modprobe.d/ uye neyemavara edhitaini isu tinowedzera zvakare mukati mese madhiraivha edhizaina atinoda kuwedzera kune yedu nhema zita uye izvo hazvishande. Semuenzaniso, kune yedu USB:

blacklist usb-storage

Sevha shanduko uye tarisa maitiro avo ...


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   John Fredy Herrera Herrera akadaro

    Kwandiri nzira yakanakisa ndeyekubvunza manejimendi kana kudzika midzi kana uchisimudza chishandiso, izvi zvinoitwa nekugadzirisa iyo org.freedesktop.udisks2.policy kana org.freedesktop.UDisks2.policy file, iri faira rine marongero ekumisikidza zvishandiso. faira rine marongero akati wandei se:

    • Kwidza faira system
    • Kwidza faira sisitimu pane mudziyo system
    • Kwidza faira sisitimu yakabatana mune imwe nzvimbo
    • Kwidza / kusunungura masystems akatsanangurwa mu fstab faira ine x-udisks-auth sarudzo
    • Bvarura chigadziro chakaiswa nemumwe mushandisi
    • Iva muridzi wefaira system
    isu tichaenda kugadzirisa mutemo

    Kwidza sisitimu yefaira

    tinomira mune zvematongerwo enyika
    ehe
    uye tinoishandura
    munyori_admin

    Izvi zvinomanikidza iyo system kukumbira zita remutungamiriri uye password kana uchisimudza USB chishandiso

  2.   Yomen akadaro

    Uye kana izvo zvandiri kuda kuita zvakapesana, ziva imwe uye urase zvimwe zvese, tingaishandisa sei nzira iyi.

    sudo chmod 700 / media / iri radical uye handiro zano