I wish to prevent a user account with sudo rights from mounting attached storage, i managed todo this with ubuntu Version 8 using gnome-polkit i think it was, however i'm not able todo this in 11.04 now , has anyone got a direction i can look in, i googled alot but my searches all come up with auto mounting or how to mount drives
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 want to disable automounting of removable media such as anything on USB, memory cards, and even eSATA. I do want the device node to be set up, but that's it.
I have a 1TB external HDD which I use to store my music library of roughly 40 gigs. Therefore I would normally import music directly from it to my Rhythmbox library while keeping everything stored on the removable drive. In recent versions of Rhythmbox this is no longer needed as the application integrates my external HDD into the side pane and lists the music automatically. This is great although when closing Rhythmbox and reopening it, the drive has to be scanned all over again. This is a huge pain when it has to scan through 40+ gigs of music.
Therefore I would like this feature disabled and removed from my side pane. It is not needed and causes quite a large annoyance. Either I want it removed or the ability to keep the index of music from the drive in Rhyrhmbox at all times. Achieving this would be fantastic and would switch me back to Rhythmbox. recently I have been using Exaile which I love but rhythmbox not working bugs me.
I just updated a system to Fedora 12. It has the same partition setup as the previous Fedora 11, but now when booting it pauses with a padlock icon next to a text entry box.I'm assuming it's trying to get my password to mount the encrypted partitions I have on the drive.
However, most of the time when I'm using that computer, I don't want those partitions mounted, and I would prefer to do a luksOpen/mount manually during those times I need the data thereon. Is there a way to get plymouth to ignore those encrypted partitions while it's booting, so that bootup doesn't pause for user input? I have an empty /etc/crypttab and the partitions in question are not in /etc/fstab. For anyone who's looking at this, pass "rd_NO_LUKS" on the command line to disable the initrd from looking for encrypted partitions to try to mount.
I am learning SELinux from LinuxCBT and I'm stuck at one place. Now video is on RHEL 4 (so tell me if things has changed since, cause I can't find anything related) shows how to disable SELinux security on httpd.first I don't know diff between initrc_t and uncofined_t; and second I don't know if something is wrong is everything is all right.
In Ubuntu Lucid 10.04, when I click a disk in the left panel of Nautilus for the first time, the disks are getting mounted without asking a root password. This was not in the case for the previous versions of Ubuntu. how can I turn this feature on in Lucid.
I've just reinstalled my box with an encrypted home (used the encrypt home option when installing). I have a query in this regard - suppose I lose the box. Won't it be possible for someone to drop into root, reset my passwd and then access my /home. Is there anyway of having a different passwd for accessing /home? My ~ is on a different partition from /.
when i would mount a drive (internal, external, ntfs) in 9.10 it would ask for the root password. now 10.04 doesn't do that. how can i go back to that scenario?
- lots of users work with linux Desktops. They use them as testing servers.
- All the infrastructure has the Authentication services linked by Quest Auth Services againts an AD. This gives us the option of logon scripts, startup scripts, and other things.
- One interesting option this Quest thing gives us is SUDO management. We can edit sudoers file by GPO politics.
- Now we are deploying a NAS server from Hitachi with cifs and NFS mapping capabilities.
- Servers are managed by IT, so nobody can go root except us.
- Desktop users will also mount the NFS shares so they will be able to work with real data and read their own data from servers.
- Desktop users can go sudo su.
- If desktop users go from root to another user, the NFS let them work as they where the other user.
I would like to keep them from swithching users, but only between AD users, they must be able to switch to apache user or postgres user.
I want to be able to mount an ftp account to a local folder, I have set up a ftp server that is working fine, I have tested it with a few windows ftp clients and it works fine. I am trying to use CurlFtpFS to mount it to /backup as I know it is supported but am running into an error I cant get around. I have tested that my box can access the server using the ftp command, see below
Code:
root@Fileserver:/# ftp 192.168.1.254 Connected to 192.168.1.254. 220 (vsFTPd 2.0.6)
[code]....
but when I try to use CurlFtpFS I get a Error connecting to ftp: Access denied: 530" error, see below
I just updated to 10.04 from the previous version and I'm encountering two main problems: First, on boot, after grub, I get the following message: Quote:"Disk drive for /hdba/sda6 is not ready yet or not present" "Continue to wait, or press S to skip mounting or M for manual recovery" It won't go past that (I've waited 30 min) If I press S then I get tis other message but it skips after a few seconds:
Quote: "Disk drive for /hdba/sda7 is not ready yet or not present" "Continue to wait, or press S to skip mounting or M for manual recovery" If I press S then I have an ALMOST working system. You see: I have an external USB hard drive, shared between XP and Ubuntu with all my files in it, and it won't mount. It's a simpletech and it was working just before the update and it loads, mounts and unmounts perfectly on windows and on another laptop I've got running crunchbang!. I can see the disk in "Media" but says I have not enough permissions to see its contents.
I'm having a problem on startup where GRUB seems to time out attempting to mount my main drive. Here is the error it gives me:
Quote:
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) -Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/b1517926-aba4-47d1-81f0-42ca5dd36257 does not exist. Dropping to a shell!
I am given a initramfs shell. Sometimes waiting a couple of minutes and then typing 'exit' works. However, I've noticed if I do this:
Code: (initramfs) mount /dev/disk/by-uuid/b1517926-aba4-47d1-81f0-42ca5dd36257 /root (initramfs) exit
my laptop will boot.
I'm really not sure what the issue is, or how to even start to resolve it.. I'm not sure what the issue is, since
My 10.04 is mounting my USB drive at startup. This is fine except sometimes it mounts to drivename_ rather than to drivename. How do I make it always mount to drivename.
i have just recently purchased a SeaGate 1TB External Hardrive. i have very sensitive information on this storage unit that i only want certain people to have access to. is there any way of password protecting the hardrive? preferably using linux or what are my options?
I have a system, I want only my sudoer account to show and automount NTFS partitions under 'Places' in Ubuntu. Simply, they shall not have access to mount it. Only my main sudoer user account shall take advantage on this show-and-possibly-automount feature of GNOME, but not anyone else.
I'd like to modify a linux distro, specifically Puppy, so that the drivers/mechanisms for mounting local HDDs and Networking is Disabled completely. A step further than simply disabling "auto-mounting" at boot time, I don't even want mounting to be possible (at least by default).Likewise, further than just disabling network devices, I'd like to remove the ability to use network devices. How are these "mounting" and "device drivers" mechanisms implemented, where are they, and what are my options?
I'm trying to get ubuntu 9.04 to recognize a Maxtor One Touch III USB external hard drive. This drive has been formatted and used on a Windows XP. I cleared everything off but am trying to see if I can arrange it so that I can back up from linux and access (if need be) from a Windows machine.
Here is what I get with fdisk -l:
/dev/sda1 * 1 14219 114214086 83 Linux /dev/sda2 14220 14593 3004155 5 Extended /dev/sda5 14220 14593 3004123+ 82 Linux swap / Solaris
Installed new drive in notebook, connected old one with SATA/USB cable, both are encrypted disks. It detected the old drive and prompted for password in Gnome, after entering correct decrypt password, this error appeared:
So if I boot without a DVD or CD in my optical drive, then I attempt to put one it, it doesn't mount. I try mounting with the terminal and that fails as well. If I boot with the media in the optical drive, it works fine. (this problem occurs both on my desktop and laptop and I know the DVD and CD's work in both 9.10 and in windows, This error also occurs with Linux Mint and Sabayon leading me to believe this is a kernel issue).
[Code]...
What do I need to do to get this to work like it should? I have been asking about this since the beta of 10.04
I have a HDD from a CCTV system that I suspect to be Linux based. I cannot see it in Ubuntu. I can see the partitions in the Disk Utility. All it says is Partition type: Unknown(0xd4). I need to access this CCTV footage.
I added a second internal hard drive to my system.It took a while to figure out how to mount it, and I thought all my problems were over.I want to use this for storage for Transmission since this would keep all the files independent of my other hard drive.One thing that I noticed is that when I restart my computer it doesn't automatically mount the drive (Transmission gives me an error message saying it's not able to access the drive).So I remounted it, and noticed that it restarts all my torrents.One thing that I noticed is that Transmission keeps the .torrent files in /tmp and IIRC there is an option to move them wherever you want to in Deluge (I don't know if this will help anything or not).I don't like Deluge, but if it's somehow easier.
So how can I retain my settings prior to restarting and make this permanent?I do like to turn my computer off from time to time, and I am quad booting with other distros that I like testing out.
I purchased a new hard drive, plugged it in, formated it, edited fstab to auto mount it, and though it is mounting the drive, it won't allow me write privileges. I can read the drive, but I need root access to write to it. The drive giving me the issue is sdd1. The others, I have no problems with. I can read and write to those without a hitch.
Error mounting: mount exited with exit code 1: helper failed with: mount: according to mtab, /dev/sdc1 is already mounted on / mount failed. Not sure what happened but it worked fine till last reboot. It's a 250g NTFS drive named MEDIA device /dev/sda1. why it won't mount now.
I used Wubi to install Ubuntu 10.10 onto my laptop alongside Windows 7. I need to access my windows harddrive, however, so I used NTFS Configuration Tool to mount the drive. However, whenever I reboot, it fails to mount and I actually have to go back into NTFS Config Tool, delete the old mount, and remount it. This is tedious. My /etc/fbstab file looks as follows:
Running 10.10 64bit Kernel 2.6.35-23 I am noticing what I think is a big hiccup in my boot process my drive is mounting at around the 4sec mark then my system pauses for roughly 13 seconds, you can even it see it on the screen a blinking cursor comes up the entire time. Then during the rest of the boot my drive will re-mount at least 4 more times. Then during use of my system there will be random re-mounts throughout the use. Here is the mounting message
[Code]...
I just noticed the pausing recently after an update but have been seeing this re-mounting since install. Are these normal? They dont seem like it to me, and if they are normal why such a long time on the initial mount and every re-mount takes 4-5 seconds. Let me know if I can provide any further info as well.
I don't know anything about Unbuntu I installed it because I had a virus and I didn't have a copy of windows. I have an extra HD with lots of media on it. At first it seemed to show up but then it disappeared. I did the sudo commands and the disk shows up as sdb. I have no idea what I am doing or what to do and all the guides keep talking about adding partitions and programs I have to dl from the net. This is a stand alone computer with no net connection.