Results 1 to 3 of 3

Thread: Automounting devices question

  1. #1
    Join Date
    2013-Mar
    Posts
    1

    Automounting devices question

    Sorry if this posts twice... I noticed that Kali is automounting any inserted devices whereas Backtrack did not automount. How can I turn of automounting devices in Kali? I will be connecting to evidence harddrives so I need to mount them read only, no exec, etc.... I know in ubuntu C.AI.N.E distro I just run the
    Code:
    sudo rbfstab -r
    If someone could point me in the right direction I would greatlly appreciate it.

    Thanks,

    Pete

  2. #2
    boot into forensics mode

    or run dconf editor and go to

    org.gnome.desktop.media-handling
    uncheck options for automount
    Last edited by reaperz73; 2013-05-10 at 04:33.

  3. #3
    I have kali linux installed as my boot OS on a refurbished laptop. I have tried the above advice & it does nothing to stop mounting USB media as read/write. Even when logged in as ROOT, it does not change.

    As ROOT, from the shell, I even entered "gsettings set org.gnome.desktop.media-handling automount false" . I found that on another forum, and it did change what was selected within the GUI. However, within the GUI, "automount-open" remains selected regardless of what I entered from the shell.

    I have also tried the above from a non-ROOT admin acct & get the same results.

    So, I presume that there is some configuration file somewhere that I must edit.

    My goal is to have kali linux mount ANYTHING connected by USB as READ-ONLY or to DISABLE AUTOMOUNT altogether. Does anyone know if there are config files I can edit to disable automount of devices/volumes via USB or at least force them to READ ONLY?

    Thanks in advance.

Similar Threads

  1. How to see devices looking for Wifi
    By josifter in forum ARM Archive
    Replies: 1
    Last Post: 2022-03-11, 08:49
  2. Build.py and Devices.cfg
    By loch in forum Building NetHunter
    Replies: 1
    Last Post: 2021-08-05, 01:09
  3. disable usb automounting
    By vincenzo in forum General Archive
    Replies: 2
    Last Post: 2016-08-01, 12:03
  4. adb not showing any devices
    By arozar in forum General Archive
    Replies: 1
    Last Post: 2016-01-21, 10:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •