Fedora :: Prevent Mounting Of External Drives & CD / DVD Drives

Oct 18, 2010

I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?

View 2 Replies


ADVERTISEMENT

Fedora :: Mounting External Drives Using Lshw Info?

Sep 7, 2009

After a bit of searching, I haven't found a discussion on how to mount an external device using hardware attributes, though I am almost certain I have seen discussions on this in the past. The objective is to consistently mount an external USB drive at the same mount point regardless of the order in which a user attaches other external USB drives. For instance, if I run lshw, I can find harware properties of the device:

Code:

*-usb:1
description: Mass storage device
...
physical id: 6

[code]...

I'd like to identify this device by the serial number and mount to a pre-defined mount point (e.g. /mnt/extUSB). I can write a script involving lshw,dmesg, and mount but I vaguely recall a more clean/ preferred method.

View 2 Replies View Related

Debian :: Mounting External Drives - Unexpected Inconsistency

Jan 28, 2010

This question is an extension of previous posts in relation to my removable drives. I have an external usb/ide drives and cowon iAduio7 music player. The former is always connected and latter occasionally. The first drive to be recognized gets allocated /dev/sdc1 and /dev/hdd respectively. Until ten days ago I would simply mount them manually after each boot. Recently I added them to my fstab file. It's fine only for this error message on boot.

Code:
/dev/sdc1 unexpected inconsistency.
fsck died with exit status 4
failed (code 4)
Control-D to continue

I found the following on the net
Code:
If a device is not being mounted during boot, it may be b/c the driver for that device has not been loaded yet at the time that /etc/fstab is read (and thus the device is not active yet and doesn't get mounted). If you want to make sure it gets mounted during boot, you may need to take a look at the boot sequence for your distro and make changes as needed. Another thing you could try is adding a "mount" command of your own to one of your boot scripts. Most distros provide a file with a name like "rc.local" which gets executed late in the boot process and can be used to add your own custom commands to execute during boot. Firstly I want to know which script do you edit and does that mean I have to re-edit the fstab after creating the script.?

Here is my fstab:
Code:
[sudo] password for siawacsh:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sdd /home/siawacsh/cowon vfat defaults
/dev/sdc1 /home/siawacsh/myhome ext3 defaults 0 3
/dev/sdb2 / ext3 errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
siawacsh@debian:~$
Remember sdc1 is the external drive, and sdd the music player.

I have attached the removable drives to directories mhyome and cowon.

View 7 Replies View Related

Ubuntu :: After Upgrade To Lynx None Of Of External Drives Cd Drive Or Flash Drives Are Pick?

May 9, 2010

upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil

View 9 Replies View Related

Server :: 2 Separate External Hard Drives With ESata To Minimize An Electrical Failure To The Drives?

Mar 26, 2011

I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data

View 10 Replies View Related

Ubuntu :: External Drives / Flash Drives And Other Partitions Will Not Mount

Jun 21, 2010

I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.

View 1 Replies View Related

Fedora :: Auto Mounting Hard Drives?

Aug 10, 2009

I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?

View 3 Replies View Related

Fedora :: USB Drives No Longer Auto Mounting?

Sep 16, 2010

I know this problem was mentioned here before but because I could not find a straight forward solution anywhere I am reposting this here. So here goes.As of today, my Fedora 13 64-bit has ceased to auto-mount USB drives completely. I have made absolutely no changes to the system and I am completely baffled and frustrated by this sudden development. I desperately need this system to function properly as I use it for school and this really put a wrench in my works, especially since I have done nothing to cause this. I assume that one of the many recent updates that have been released must have done this, but I have absolutely no idea how to fix this. Why do Fedora developers release updates that cripple a perfectly functioning system is beyond me and crap like this really makes me consider switching back to Ubuntu.

View 9 Replies View Related

Fedora :: Can't Use Shares On External Drives

Apr 5, 2010

I can't use my shares on external drives. I've tried to work with this and I really like Fedora but enough is enough. enough having to recover from multiple crashes attempting to get Nvidia drivers installed but I've given up on this. I haven't found a solution after HOURS and HOURS of searching. I was willing to wait for 13 to have 3d support on my Nvidia card but if I can't find a solution to this one

View 6 Replies View Related

Fedora :: Get The UUID For Some Of External Hard Drives?

Apr 7, 2011

I am trying to figure out how to get the UUID for some of my external hard drives.the internet revealed a couple of promising leads, this is what I have tried so far:

ls -l /dev/disk/by-uuid -> didn't list the hard discs
blkid -> didn't list the hard discs
lsusb -v -> listed the hard disc but no uuid

A normally formatted usb key is listed with uuid. The external hard discs are fully encrypted by truecrypt(realcrypt). I have been reading not so great things about that itself, but for now I don't have a promising alternative that I can use with windows as well.Any google searches don't seem to cast any new light on this for me,I'd be open to suggestions if there's a better way to get a definite ID for a hard drive... I just need to be able to mount it with realcrypt

View 3 Replies View Related

Fedora :: Can't Access Any Of The Other Hard Drives From The Other Drives?

Jul 5, 2011

I have Fedora 14 installed on my main internal drive. I have one Fedora 14 and one Fedora 15 installed on two separate USB drives.When I boot into any of these drives, I can't access any of the other hard drives from the other drivesll I can, but just the boot partitions.Is there any way of mounting the other partitions so I can access the information?---------- Post added at 12:42 PM ---------- Previous post was at 09:34 AM ----------I guess even an explanation on why I can't view them would be good too.

View 7 Replies View Related

General :: Mount Prevent All Access To Hard Drives From Bootable CD

Jan 25, 2011

I'm working on creating a bootable Linux CD to distribute a sandbox environment to customers that will work on multiple PCs.One requirement of this environment is that we do not want the user to have any access to the underlying hard drives in the computer to prevent any accidental and/or malicious damage. I can prevent the disks from automounting with a few udev custom rules, but is there any way to prevent/block the user from manually mounting the hard drives after boot up.

View 2 Replies View Related

Ubuntu :: Drives Not Mounting?

Apr 28, 2010

I've been Ubuntu 8.10 along with Windows from abt 3-4 monthsFor automatically mounting of NTFS drives that I has which were created by WIndows, I uses NTFS Configuration tool Everything was working fine in both OS's.But how come of a sudden today I'm not able to open any drive that I have which were happening till now.Not only this,at least if we press F9 then we get sidebar,from where we could have opened the drive .even that is not happening.

View 4 Replies View Related

OpenSUSE :: Mounting Some Hard Drives?

Oct 24, 2010

I have a few hard drives that I connect to my system with an usb to ide cord. some of the drives mount right away but some others don't below example.

Oct 24 11:10:04 linux-b21t kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: configuration #1 chosen from 1 choice
Oct 24 11:10:04 linux-b21t kernel: scsi15 : SCSI emulation for USB Mass Storage devices
Oct 24 11:10:04 linux-b21t kernel: usb-storage: device found at 14

[Code]...

View 4 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 1 Replies View Related

Ubuntu :: Automaticly Mounting Drives?

Apr 9, 2011

Is there anyway to make so of my hard drives I have which are being used to share over a network automaticly mount themselves when my pc boots up?

View 2 Replies View Related

SUSE :: Command For Mounting Other Drives (XP And USB)

Jan 10, 2009

I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.

View 3 Replies View Related

Hardware :: Mounting Hard Drives

Mar 21, 2009

I know this is an easy task, especially using cPanel. However I want to do this without formatting the drive, since there is sensitive data already on the hard drives. So how would I mount a hard drive, but not format/lose any of the data already on it?I've looked and everything seems to lead me to believe that I'll lose data if I do it that way.

View 7 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations?

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 4 Replies View Related

General :: USB (Removable) Drives Not Mounting

Sep 29, 2009

I just started using openSUSE 11.1 with xfce and my problem is that I cannot mount my external USBs, I get the following message:

org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result).

It seems hal does not give me permission to do this. Am I able to mount using the command line? If so, how?

View 14 Replies View Related

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

Server :: Debian RAID 10 Spare Drives Versus Active Drives

Jun 9, 2011

so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?

root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]

[code]....

View 2 Replies View Related

OpenSUSE :: Mounting Hard Drives As User?

Aug 4, 2010

OpenSuse 11.2 64bit When I select a hard drive in Dolphin file manager it asks for the root password. I would like to gain easier access to the drives. The Yast Partition Manager lists all of the drives and has a dialog box to change this i.e. user can mount the drive. Can we change this feature on the run, while the system is running ? The Fstab file is not listing all of the drives, so I cannot just edit the config here.

View 4 Replies View Related

OpenSUSE :: How To Get Dolphin Mounting Partitions / Drives

Aug 10, 2010

Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don't have permission to. I also can't mount partitions in other programs like Amarok, because of the same issue.

Error Message:
An error occurred while accessing 'Windows 7', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

View 6 Replies View Related

OpenSUSE Hardware :: USB Drives Not Auto Mounting?

Sep 11, 2010

my opensuse is not auto mounting USB drives anymore. It was working a few weeks ago! I have an external 500GB HDD and also an 16GB Kingston USB flash disk, both are not being auto mounted.If i do lsusb i get

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[code]....

View 9 Replies View Related

Ubuntu :: Mounting Ext4 Drives/partitions In 6.06?

Apr 5, 2010

I just recently found an iso for 6.06 and installed it on an old pc of mine that already had 8.04 and crunchbang on it. crunchbang is on an ext4 formatted partition.

When I setup 6.06, it asked me what i wanted to mount my drives as, so i told it to mount the ext4 system as hda1.

whenever 6.06 boots, it tries to mount hda1 but can't because it doesn't recognize ext4.

What I am asking is this: is there a deb or a package out there I can install to make 6.06 recognize ext4? if not, how can i make it so that 6.06 does not want to mount hda1?

I can get past the initial error message and into the desktop, so 6.06 does work.

View 5 Replies View Related

Ubuntu :: USB Flash Drives Not Mounting Automatically?

Apr 24, 2010

I have Ubuntu 9.10 and when i plug in my usb drive it wont mount it automatically and is not shown in the nautilus browser also, but if i search in /dev its visible(its detected) and i can mount using mount /dev/sdc /mnt But if i do this i can only copy files from browser and for all other times i need to use terminal again

View 1 Replies View Related

Ubuntu Installation :: Mounting Ext3 Drives In 10.10?

Nov 18, 2010

It seems to be (we have experienced) that 10.10 can't handle having an older ext3 drive mounted to a folder on the 1010 ext4 drive. The files get "corrupted", but afterwards, putting the drive back into the original older 9.04 system, the files are perfectly fine again.

View 3 Replies View Related

Ubuntu :: Disable Automatic Mounting Of USB Drives?

Jan 9, 2011

Update: Solution posted below. Distro: Kubuntu 10.04 AMD 64. My system automatically mounts USB devices when attached to the system. I have explicitly disabled this function in (KDE) System Settings --> Advanced --> Removable devices. It doesn't matter - as soon as a USB device is plugged in the system mounts it as root.

View 4 Replies View Related

Hardware :: Mounting Hard Drives With Partitions

Dec 27, 2009

I've been struggling with this one for a while - I have three SATA hard drives installed on my system:
/dev/sda - an 80 GB disk with three partitions, one NTFS for WinXP, one ext4 for Fedora 11 x86_64, and a boot partition
/dev/sdb - a 250 GB disk with one partition, ext4
/dev/sdc - a 250 GB disk with one partition, ntfs

I can mount any partition on /dev/sda without problems - everything works exactly as expected. Attempting to mount a partition from one of the other disks results in something like the following (this is for sdc1):

Code:
[User@machine ~]$ sudo mount -t ntfs /dev/sdc1 /mnt/shared
[sudo] password for User:
ntfs-3g: Failed to access volume '/dev/sdc1': No such file or directory
ntfs-3g 2009.11.14 integrated FUSE 27 - Third Generation NTFS Driver
XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
Ntfs-3g news, support and information: http://ntfs-3g.org
The /mnt/shared directory is created; the failed to access error is related to the disk.

Here is the output from fdisk:
Code:
[User@machine ~]$ sudo fdisk -l
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0f970f96

Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 8e Linux LVM
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1050104f

Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 7 HPFS/NTFS
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8e538e53

Device Boot Start End Blocks Id System
/dev/sda1 1 6375 51200000 7 HPFS/NTFS
/dev/sda2 * 6375 6400 204800 83 Linux
/dev/sda3 6400 9729 26743361 8e Linux LVM

Disk /dev/dm-0: 21.4 GB, 21428699136 bytes
255 heads, 63 sectors/track, 2605 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 5955 MB, 5955911680 bytes
255 heads, 63 sectors/track, 724 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 250.0 GB, 250059348992 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0f970f96

Device Boot Start End Blocks Id System
/dev/dm-2p1 1 30401 244196001 8e Linux LVM
Disk /dev/dm-3: 250.0 GB, 250056705024 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table

And also from blkid (this does not match the output from above - but I don't know if this is actually related to the problem or how to fix it):
Code:
[User@machine ~]$ sudo blkid
/dev/sda1: UUID="506412E06412C91C" TYPE="ntfs"
/dev/sda2: UUID="811bf259-33d5-4db2-9851-e93b47dcbcc8" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="U3AJLH-Lhm1-b0lf-HDX9-ZK1V-ezqU-sb0YGQ" TYPE="lvm2pv"
/dev/dm-0: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4"
/dev/dm-1: TYPE="swap"
/dev/mapper/vg_machine-lv_root: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4"
/dev/mapper/vg_machine-lv_swap: TYPE="swap"

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved