Results 1 to 5 of 5

Thread: How to Disable access to rest of the drive/partition and second HDD

  1. #1
    Join Date
    Feb 2012
    Beans
    3

    How to Disable access to rest of the drive/partition and second HDD

    I have two HDD 2TB and 200GB.

    while installing Ubuntu 11.10 I remove 2TB from my PC and install Ubuntu in 200 GB HDD (root partition in "/dev/sdb2" and swap at /dev/sdb8.

    Now I want the following:

    find the screen shot. My second (2TB) HDD has lot of encrypted drives.
    these are not in the computer (my computer home) list, so they are not mounted as well. but rest of the drives are in visible and right click mount/unmount list. I want to stop Ubuntu accessing all these drives not even mount/unmount list and not again visible after restart (like Ubuntu failed to read my encrypted drives... It should also failed to read-write all my NTFS or ext3 drives).
    It (Ubuntu) should only get the access to File system Drive (which is the " / " of it).

    Please help me by details command.. I am a new in linux

    I need to stop access my second HDD from Ubuntu 11.10 and also I want to stop the rest of the partition rather that Ubuntu's root partition of it.
    Ubuntu should only access to its file system partiotion.

    Visit here I have posted some screen shot there.. please give me an answer on it --

    http://www.linuxquestions.org/questi...nd-hdd-932354/

  2. #2
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,918
    Distro
    Ubuntu Development Release

    Re: How to Disable access to rest of the drive/partition and second HDD

    Hi

    If a user has access to a terminal and has admin privileges then they can mount (and see) the drive. There is not much you can do about that.

    Please post the output of

    Code:
    cat /etc/fstab
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  3. #3
    Join Date
    Jul 2005
    Beans
    2,050

    Re: How to Disable access to rest of the drive/partition and second HDD

    This might work:

    http://www.worldofnubcraft.com/969/h...from-nautilus/

    This won't make it impossible to access the partitions, just remove them from the lists of possible partitions to mount. But if they are encrypted anyway, they should be pretty secure right?

  4. #4
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to Disable access to rest of the drive/partition and second HDD

    You can in fstab mount them and hide. In fstab 777 means no access by anyone. noauto means it will not mount automatically.

    Hide windows mount with noauto:
    /dev/sda2 /Windows/sda2 ntfs defaults,noauto,umask=777 0 0

    More info on how to use fstab:

    Understanding fstab
    https://help.ubuntu.com/community/Fstab
    https://help.ubuntu.com/community/Mount/
    https://help.ubuntu.com/community/FilePermissions
    http://www.psychocats.net/ubuntu/mountlinux
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  5. #5
    Join Date
    Feb 2012
    Beans
    3

    Re: How to Disable access to rest of the drive/partition and second HDD

    solved it...


    Wish you all the best !!

Bookmarks

Posting Permissions

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