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.
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?
My laptop running Ubuntu 10.04 insists on automatically logging me in without asking for my password. The only thing is, I've disabled auto login and it shouldn't be doing that.
When I first boot up Ubuntu all I have to do is select my username, no password required to log in. I want the login screen to prompt me for my password for better security.
Here are the settings I already have:
System - Administration - Login screenSet to "show the screen for choosing who will log in"
System - Administration - Users and GroupsI am the only user I have an Administrator level account "Don't ask for password on login" is unchecked, i.e. it should ask for my password on login. If I create a new user with the same settings, that user gets asked for its password. But I don't.
Surely this should be enough to disable automatic login.
I have enabled automatic login in Lubuntu, and have now added a second user, I want to DISABLE the automatic login, or perhaps change the default login. The usual Ubuntu admin window for this does not appear to be available. Where in the conf files this setting is, and or whether there is a GUI that controls this.
I need to disable the automatic power-off on shutdown so I can just withdraw the power myself. The reason for this is that the machine should power on itself when it gets power (which is accomplished by Resume on Power Failure in BIOS). I learned that I can turn off ACPI and APM by using the corresponding boot command options. Does this have any negative effect other than disabling standby etc.? Is there another easy to accomplish solution for this problem (maybe using linux from a readonly partition and make sure all programs are closed before I withdraw the power)?
I've just installed Ubuntu 10.04 desktop. I've created two user accounts, one for admin purposes and the other for standard users. At boot up, I have the option to pick one of the created accounts or select "automatic login." When I select automatic login, it logs me into the admin account. I've double checked that the "don't ask for password" option is not selected on either account.
The only thing unusual that I did was select the "don't ask for password" option during the install, and then later (after the install was complete) decided that's not what I wanted and unchecked it.
I need to accomplish one of two things. Either change it so the auto login applies to the standard user account, or remove the auto login option from the login screen altogether.
From the GUI, there is an option in the network settings "Automatically obtain DNS information from provider", just wondering how do we set or disable the same option through the command line, which files do we have to modify?
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.
My question is simple, is it possible to enable and disable automatic sleep/hibernate/standby using BASH? I need it for a bash script.Been searching for a while now, can't seem to find it.
ubuntu 10.04. My computer is left on all the time. My computer's screensaver comes on 10 minutes after last keystroke. Which is fine. However, when I return to use the computer and disengage the screensaver, ubuntu ALWAYS requires my password to continue. How do I stop ubuntu from asking me my password everytime I wake my computer up?
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.
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
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.
i reboot, windows drives are mounted with different filenames (eg:first time d: was /media/disk and e: was /media/disk-1 but after reboot they got interchanged - e: was mounted in /media/disk). I cannot afford this as several apps use files from these drives and their path keeps changing after every fresh boot.
is their any way to change the mounting location of your hard drives so when you click a certain hard drive in nautilus, it'll go to that location instead of the default one?
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
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?
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.
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.
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?
syslog, messages and kern.log are incredibly huge files that are taking up a lot of space on my hard drive. Is it safe to remove them and/or to reduce logging so it doesn't take such an enormous amount of hard disk memory? If so, how can I reduce the logging so it doesn't produce logs that are 10s of GB in size?Also, mounting a drive places it into the folder /media. Will it become problematic if the size of the mounted drive exceeds the amount of free space available on my Ubuntu partition?
I need to examine a hard drive that came from another system running Ubunut Server (not sure what version). I know the drive has LVM on it, so as far as I understand that means the drive will be treated as EXT4 for mounting. I can't boot from the actual disk, but I have used a IDE to USB connector to make a binary copy of the drive, which I've mounted as a loopback device. However, when I try to mount the loopback device properly, I get this:
root@~je:/# mount -o ro -t ext4 /dev/loop0 /mnt mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
I tried using -t ext4dev too, but that just gives an unknown filesystem error. The file I've got mounting in /dev/loop0 is a .dd file, created by imaging the drive using dcfldd on the server drive while it was mounted (as /dev/sdb). System I'm working on is running Ubuntu 9.10. All I need is to be able to mount the server drive so I can traverse the file directories, there's a few things I need to check on it. If needed I can dispense with the whole loopback setup and just directly connect the server hard drive again using the IDE to USB cable, but I'd rather not do that; it's imperative that the drive doesn't get altered, or at least as little as possible.
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?
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.
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.