Ubuntu :: USB Devices Always Automount For Second User / Solve This?
Jan 27, 2010
Since I created second user USB devices as PTP camera, flash mass storage automounts always for the new user.
Even the second user is not logged in automount does not work for main user. When I log in as second user (with device plugged in) it is mounted automatically after log in.
What can I do with this problem?
I would like to access devices from each user (not necessarily at the same time).
How can I configure it?
How can I "remount" device to my current user without switching into the second one (it's someones else account)?
View 7 Replies
ADVERTISEMENT
Jun 11, 2011
I managed with fstab but at restart came a black screen.I have called an HD '7200' then I reinstalled Fedora. And it does not automount it anymore. I changed fstab and black screen.
View 5 Replies
View Related
May 3, 2010
When a USB device is attached to the laptop 10.04 does not automount the device. i.e. the device, be at an external drive, memory stick or iPod does not display with the correct icon on the desktop.
However, if one looks under Places|Computer there they all are with the correct icons. The devices can then be mounted from there.
This issue seems to be related to these other posts: [URL]
This is really disappointing given that 10.04 was promoted on its iPod friendliness!
System: IBM Thinkpad T41; Pentium-M 1.6GHz; 1Gb RAM
View 9 Replies
View Related
May 4, 2011
I have ubuntu 10.04 and am running gnome desktop.Howto disable automount for USB stick devices?
View 1 Replies
View Related
Jun 5, 2010
I don't have an opportunity to check it out now... Does Debian 6 testing mount inserted CDs/Flash-drives automatically like Ubuntu does? Or the only way to mount them after inserting is to use mount command?
View 7 Replies
View Related
Mar 8, 2011
I have squeeze with xfce4 installed. How to disable automount of usb devices under xfce?
View 2 Replies
View Related
May 11, 2015
There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)
I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.
Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.
To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount
The name of the file must match the mount point -- in this case, /media/windows
My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:
[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target
The file ownership must be root.root. Apparently it doesn't need to be executable.
After creating, enable with:
sudo systemctl enable media-windows.mount
and it will mount on the next boot.
I read elsewhere that the before running the enable command you should run a start command:
sudo systemctl start media-windows.mount
but that didn't work for me.
View 2 Replies
View Related
Oct 18, 2010
I am looking for info about how works automount process, and i didn't find info about the tollowing ...
I wonder ... how can i do to "config" automount process to put all my usb devices in write-back mode as default ... for example ... what file can i change? ... how to do it ?
And another one ... um... how to say to "automount process" ... to put my usb devices into a "deadline" io scheduler .. for example ... how to set io-scheduler for an automount device ?
View 1 Replies
View Related
Apr 4, 2011
My USB devices are being automounted as root in Ubuntu 10.10. How can I automount them as the current user? Here is the output of:
sudo fdisk -l
ls -l /dev/disk/by-uuid
df
For this example, /dev/sdc1 is connected.
Code:
matt@matt-G73Jw:/media$ sudo fdisk -l
[sudo] password for matt:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
[code].....
View 2 Replies
View Related
Jun 20, 2011
i want to know the risk with auto mounting flash drive as a root user,if for example there is a Usb Flash drive inserted into the system and we login into root unknowingly, and this flash drive contains an autorun script which calls a new script that can place viruses in your system, since you are in the root it will not even prompt for password and if the script is fast enough you will not even see it executing.
View 7 Replies
View Related
Nov 23, 2010
I've recently configured our mail server (postfix/dovecot). Everything is running, I have a reverse DNS, MX records, A records etc.. I've added the users already.Here is the problem, whenever I test email from an email client(Outlook 2003), there's no problem. But when try sending email from the outside the mail just bounce or deferred.
View 12 Replies
View Related
Feb 26, 2011
I'm trying to familiarize myself with LXDE to help a friend of mine and one thing I just cannot solve, despite many googles, is how to allow a non-root user to auto-mount drives in the left-hand pane of PCMANFM.Everything works just fine as long as I have the root passwd. Not a huge problem but very irritating none-the-less.
View 9 Replies
View Related
May 31, 2011
I am having an issue with a Chrooted SFTP User not being able to write files.
The permissions are setup correctly as if I remove the Chroot the user can write files correctly.
User has a transfer folder which they should be able to write files to and read from, this works correctly until I apply the snippet from sshd_config file below then the user can only read files. I have tried tweaking the permissions but this doesn't seem to have helped at all.code...
View 2 Replies
View Related
Oct 29, 2009
How can I get a LUKS encrypted partition on an external USB device automounted with r/w access for non-privileged users?
Background:
I just reformatted an external USB device with ext4. The only partition is LUKS encrypted. Now, when I plug the device to my computer, KDE notifies me and asks me to enter the LUKS passphrase. Then it mounts the device. Little snag here: Non-privileged users have read-only access.
My user is a member of group plugdev, but not of group disk, as this was discouraged several times, e. g. by Robby Workman. With non-encrypted disks regular users have read/write access, or can change the filemodes accordingly, as far as I recall (currently I have no more non-encrypted disks left to verify it...)
View 11 Replies
View Related
Aug 1, 2010
I am using CentOS 5.4. I updated my firefox to 3.6.7.
After that when I login in facebook and click anything in facebook, my pc log out, even from root user.
cause & solution of this problem.
View 2 Replies
View Related
Mar 14, 2010
I've setup Kerberos and OpenLDAP servers (9.10) similar to the official documentation (and other sites that fill in the "gaps"). However, when you start to get in to some of the details, there seem to be many options - and I guess I'm looking for what could be the defacto standard. I'd like to allow Ubuntu clients to have a sso capability, with the ability for local caching of passwords if not connected to the network (such as a laptop user away from the office, prior to a VPN). I'd like to automount a secure NFS share somewhere in the /home directory. If the user logs in to a computer they've not logged in to before (if they're authorized), it would be nice if a skeleton /home directory could be setup there automatically I'm guessing that it is not desirable to use a shared /home NFS - as if you're off the network this would be problematic - as well as multiple computers sharing the same /home. There are some benefits to a shared /home (SSH certs, etc.), so maybe there is a hybrid approach out there.
I've read that it's not necessarily good practice to have OpenLDAP to do the authentication (leave this to Kerberos), but it's fine for authorization (such as ACLs for logins to certain computers). It's also good practice to use TLS with OpenLDAP (which requires public certs on all the clients) and to not allow anonymous read to the directory. I would guess that a computer host keytab could be refreshed to bind to the OpenLDAP server via GSSAPI / SASL to allow a non-anonymous read, and then determine if, say, the user was a member of a group allowed to log in. Kerberos would then pick up and authenticate the user and then proceed to the login. Off the network here, I'm not sure. I found this document, but it's self declared missing items: [URL]
I'll stop the rambling, but I cannot be the only one who would like to setup a relatively standard and secure server based network authentication and authorization back-end. Is there any _complete_ documentation on the best practices and how to implement?
View 4 Replies
View Related
Feb 28, 2010
I have an external USB drive that is NTFS. It mounts fine under my account and my wife's, but only if I fully shut-down the computer between switching. While switching users or logging out then in with a different account it will not mount the drive. I am not sure what to do... but we both access data from the same drive.
View 2 Replies
View Related
May 27, 2009
I have a minor issue with permissions. There are a couple of devices that I need r/w access to in /dev. Whenever I first boot up and log in as end user (not root) and I need to access the devices permission is denied. Logging in as root there's no problem accessing these devices. However as an end user every time I need the devices I have to first su to root to change R/W permissions (chmod 666).
Now, the good thing is that the permissions stick even as I logout and then log back in, but as soon as I reboot my computer (every night) I have to go and chmod manually. I'm trying to find a way to avoid having to su and chmod manually but I'm not having much luck. The devices I am trying to access are /dev/ttyS1 and /dev/windrvr6, when I first boot up and login as end user the permissions look as follows:
crw-rw---- 1 root uucp 4, 65 May 27 04:11 /dev/ttyS1
crw-r--r-- 1 root root 253, 0 May 27 09:12 /dev/windrvr6
View 3 Replies
View Related
Oct 20, 2010
Does anyone have a permanent fix for not being able to use USB devices in VirtualBox as a regular user?
View 11 Replies
View Related
Dec 7, 2010
I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried
mdadm /dev/md2 -r failed
mdadm /dev/md2 -r detached
but neither work and since there is no block device listed I'm not quite sure how to get things back in sync so it's only seeing the three drives.
/dev/md2:
Version : 0.90
Creation Time : Tue May 25 11:07:04 2010
Raid Level : raid5
[code]....
View 8 Replies
View Related
Jan 22, 2010
I know how to automount ntfs, what I don't know is how to automount a 2nd ext4 partition. I know I can use code...
What am I doing wrong? Also how can I read and write to and form the root of the partition with out opening it as root?
This is not the partition I have ubuntu installed on, this is a 2nd partition.
View 3 Replies
View Related
May 24, 2010
I have a problem that I can not decide for 2 weeks. Here is what happened: On my laptop, installed just Windows XP. In the past, when I installed the second system, Ubuntu 9.04 or 9.10 (for dual-boot), Ubuntu asked the administrator password for access to just Windows XP partition. I mean, that just Windows XP partitions were visible, but for the entrance (mount) needed a root password.
Now, in Ubuntu 10.04, Windows XP partition mount automatically and Ubuntu does not require the root password. I do not like it very much.
Tell me please, what do the settings at the time of installation of Ubuntu for just Windows XP that the system would be asking root password for just Windows XP partitions? Is this possible? I think - yes. Because in the past the default 9.04 and 9.10 asked for a password.
PS: I must say, as I put Ubuntu and just Windows: 1. Be installed just Windows XP, giving it 20 GB space 100 GB hard drive. </span>The remaining 80 Gigabytes leave out the implications.
[Code]...
View 9 Replies
View Related
Jun 6, 2010
Suffice it to say, I'm an idjit and can't figure out how to get my USB drives to automount.
View 9 Replies
View Related
Nov 13, 2010
today when I inserted my usbpen in the laptop, automount did not work. I tried another pen with same result. I checked with mountmanager and both pens were working and actually mounted them manually, but automount which worked perfectly yesterday now is dead.I found a workaround installing usbmount from standard repository and now automount works again but usbpens are mounted in /MEDIA/usbx instead with their names as before and I have to open a root terminal tu unmount.
Unfortunately I use a pen for backup with unison and changing the mount position I have to modify unison profile every time, which is pretty uncomfortable.The problem May arise from the fact thgat yesterday I tried to manually compile and install the canon driver for my printer and trying to solve dependencies I had to compile and install Glib-2.26 pango-1.28.3 and gtk+2.22 from their sources.I did not manage to get a working canon driver but i may have made a mess with usb automount function.program/service is responsible for usb automount in ubuntu 10.10 so that i can reinstall or reconfigure it.
View 7 Replies
View Related
Jan 25, 2011
My goal is to prevent gnome from mounting and opening up a file browser when any device is plugged in (USB, CD/DVD) for a Desktop User account. I am using Ubuntu 10.04 Netbook RemixI modified several settings in Nautilus (Edit --> Preferences --> Media (tab). I Selected "Never prompt or start programs on media insertion" and unchecked "Browse media when inserted".I restarted the system, but when I plug in a USB mass storage device the file browser window still appears and the device is mounted.I dug down into gconf and found the following registry keys that I believe are of interest:
/apps/nautilus/preferences/media_automount (unchecked)
/apps/nautilus/preferences/media_automount_open (unchecked)
/apps/nautilus/preferences/media_autorun_never (checked)
Has anybody run into this problem and found a solution? Modifying the keys I mentioned above worked for everyone else that has asked the "disable automounting" question (that I've found). Some very old posts mentioned gnome-volume-manager, but it is not installed on my system.
EDIT:This seems to only happen when the Netbook Launcher is started. If Netbook Launcher is removed from the list of startup programs and the system is restarted, I can insert devices without getting a pop-up window and without the device being mounted.
View 2 Replies
View Related
May 2, 2010
I cannot force Ubuntu to open my data DVDs upon their insertion. It is present, but it won't automount. Of course, in /etc/fstab are no indications for removabledevices, but this is correct, I think.
View 5 Replies
View Related
Apr 22, 2010
My computer won't boot up from the installed version of Ubuntu. I was running 8.04 with no problems, but it stopped working after entering a command code to fix the limit for virus definitions on Avast. I removed the code, but now on boot up all I get is a blank screen and blinking cursor.
I can boot up with an Ubuntu 9.1 live disk, and it shows the installed version of Ubuntu and all my data are still there. Is there a way to do a general repair, that will enable my computer to boot up from the installed operating system?
View 9 Replies
View Related
May 28, 2010
I have changed my login screen setting from gnome as default session to kde
then i can't login when i log this message appears power management please check your power devil configuration is there any way to back to gnome or to solve this problem
View 6 Replies
View Related
Feb 5, 2010
I bought myself an inexpensive USB mp3 player the other day, thinking that I could sync it just like I do my digital camera and thumb drives. No such luck.
The player is identified by 'lsusb -vv' as follows:
Quote:
Bus 001 Device 005: ID 10d6:1101 Actions Semiconductor Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
[Code].....
View 4 Replies
View Related
Feb 8, 2010
I installed Storage Device Manager and can't automount my Windows 7 partition. It doesn't show up in Storage Device Manager. When I mount the partition, it comes up as /media/286CC2A6397A0F2A instead of sda# like normal drives.
View 9 Replies
View Related