OpenSUSE Hardware :: Impossible To Mount A Usb Stick As Non-root User?
Feb 11, 2010
Although I can perfectly mount any usb device (stick or disc) as being root, as a user I am not allowed to perform any such action! I have modified the corresponding fstab entry to look like:
Code: usbfs /proc/bus/usb usbfs noauto,user 0 0 and I have also made sure that the user is a member of the disk group, but without any luck. My system is OpenSuSE 11.2 (with KDE 4.4, but the problem is the same regardless I am attempting to mount the usb device via the GUI or through the text (c/k)onsole).
I had to change the mounting properties of my disk partitions so i tinkered with the fstab file.. Now I am unable to mount the cdrom as a normal user..To mount the cdrom I had to login as root in terminal and use the following command:
Code: mount /mnt/cdrom The cdrom entry in my fstab file reads:
Just recently uggraded from Ubuntu 9.10 to 10.04... I'm not liking 10.04!!
It's messed with my KMail, and NOW I find that when I insert a USB stick, I get the message:
"An error occurred while accessing '7.4 GiB CANON_DC (vfat) [/media/Ext3]', the system responded: mount: only root can mount /dev/sdi1 on /media/Ext3"
What the H**L happened... in 9.10, I put in the stick, and could instantly view/copy/etc. from it in Krusader...
Same result with a USB HDD...
I've read a bunch of posts, and nothing really says how to have Ubuntu simply mount whatever I give it to read... That's what I'm after... I made myself part of the Admin and root groups, but that only changed the error message to show that the system recognized what device I'd plugged in.
It's the lil' things, and 10.04 seems to have a few... So, tried to mount it:
:~$ sudo mount /dev/sdi1 on /media/Ext3 [sudo] password for dkolars: Usage: mount -V : print version mount -h : print this help
What if I want to install Slackware for my parents so then I no longer have to get rid of virus and malware for them. Is there way so they never have to log on as root? Any way to access CD's and to shutdown computer? I only know how to do those things as root.
I have just installed opensuse for the first time. I have plugged in a USB memory stick but it does not register anywhere (eg Dolphin does not pick it up). how I can access the files on my USB stick?
After having solved my raid5 creation problems, I'm running into a new one: the RAID is just impossible to mount through fstab. I get a wonderful "The disk drive for /dev/md0 is not ready yet or not present. Continue to wait or press S to skip mounting or M for mount recovery."
Once the system has booted, I can perfectly run a mount /dev/md0 /media/raid and mount it manually. I've already tried mdadm.conf with UUIDs, with device names, tried several options in fstab, xfs and ext4 filesystems, nothing to do, it won't mount.
All this is running under Ubuntu 10.04 server, kernel: 2.6.32-25 server, mdadm 3.1.4 (from a Debian sid)
I've just updated to 11.4 from 11.3.When i plug a usb stick and the tried to eject it the system ask me for the root pass, with every usb stick. Is it like it for everybody or just for me
I am using fedora 12.I have two internal drives. Both are ntfs. Whenever i click on them it prompts to enter root password. But i want to mount them as normal user without entering any root password. How can i disable it so that i am not asked to enter root password everytime i mount the drives.
I have a few generic USB sticks lying around, and a few more SD/microSD chips that I use with openSUSE. Is there any way to label/ID them so they mount at unique points in /media, so I don't blast one accidentally? In mkfs.vfat there is a "-n volume-name" that looks promising, but I can't find a way to set that after the mkfs.
i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.
I have Kubuntu 10.04 Lucid installed on my new laptop and I'm trying to get my backup script up and running again. I had a script that would connect using smbmount with my normal user account and then mirror my home folder to the external network attached hard drive with rsync. It seems that rsync needs to be run as user account, not root, to work properly.Some of the setup info for getting this running in Kubuntu Karmic was from this article:
However, smbmnt does not exist in *buntu 10.04. Is there any other way to connect NAS drives as non-root user that is relatively secure? I spent all day yesterday struggling with this and still haven't found a solution.
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
My wife's XP has crashed and I need to save files. I've discovered the command to mount the hard drive - unfortunately I need to force the mount, but I can't do it because I have to be in root. I can see the root user in the user list, but when I try to switch I can't access it. How I can do it to back up my wife's files. I have Kubuntu 8 and KDE 4.1.
Trying to mount my USB stick and getting a superblock error.. Tried a command in the terminal but it said only "ROOT" can access command...How do I get to "ROOT"...??? See attachment.
I need a guicance related to mounting USB stick of 2GB capacity. Normally when I insert my USB stick it mount automatically and show me.I want that instead the usb mount automatically I manually mount it. Now there are two steps to do it. First How to stop USB to mount automatically ? Second How to mount it manually ?
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
I am working from RHCE Study Guide 5th Edition by Michael Jang. Lab 1 for Chapter 6 says that I should be able to mount a remote NFS share as an ordinary user under their home directory.
However, mount requires root unless it's defined in /etc/fstab with the appropriate options. So would the following never work for a user?
Code:
I could define it in /etc/fstab, but then I would have to specify a "general" mount point for the mount, like /mnt/nfs and not specific to a user like the lab suggests above.
Is the book wrong on this? Even the answer for the lab makes no mention of using fstab to mount as non-root user and the above command is correct according to the solution.
I am running 11.2, kde4. The day before yesterday, the system updated and I think there was kernal update within that. I had no problems immediately afterward. Then I did a total shutdown for the night, and turned it back on yesterday only to find this:
Mount: wrong fs, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error In some cases useful info is found in syslog--try dmesg | tail or so Could not mount root filesystem--exiting to /bin/sh sh: cannot set terminal process group (-1): Inappropriate ioctl for device sh: no job control in this shell $
Besides the last updates from the other day, I did nothing out of the ordinary, no downloads or any system/configuration tweeks. Will I have to reinstall opensuse? or is there a way to reclaim my previous setup--or at least reclaim my files and documents? I'm running off of the 11.2 livecd.
Akonadi can't run when log as user root due to mysql protection :
Code: [akonadiserver] Found mysql_install_db: "/usr/bin/mysql_install_db" [akonadiserver] Found mysqlcheck: "/usr/bin/mysqlcheck" [akonadiserver] Database process exited unexpectedly during initial connection! [akonadiserver] executable: "/usr/sbin/mysqld"
[Code].....
So how to configure Kmail to read and delete local mail sent by other users or by system or apps ?
I cannot see what the problem is here. I have installed MySQL 5.1.36 via YaST on my openSUSE 11.2 (32-bit) system.I can log in as root. I can "create user MY_user identified by 'my_passwd';" and a new user is created. But I cannot log in to the database using that new user name. I keep getting the message:
I want to run zypper without being asked for the root password. So I added the commands to the sudoers file:
Code: # User alias specification User_Alias ADMIN = XXXX #note: this is not real username. # User privilege specification root ALL = (ALL) ALL ADMIN ALL = NOPASSWD:/usr/sbin/vpnc ,/usr/sbin/vpnc-disconnect ,/usr/bin/zypper ref ,/usr/bin/zypper up
But I'm still being asked for password. I should note the the vpnc commmand is working as expected.
I am not able to run nautilus as a root userA error message saying - Could not parse arguments. Cannot open displayHow do i find which version is my gnome??
I would like to allow normal users to run some root scripts (e.g the sound subsytem [alsa]) in cases sound is stuck. What is the best way to allow this to happen in opensuse? There are many ways to do that (and I do not know how to use any of them ) and I am not sure which one is more suse all right.
I want to start VB in headless mode. It is possibe to tell VB to run the VM with a useraccount, but i will asked after his password. So it is not possible to run it in runnlevel 2 and 3.
I have two uesers on the syste - me (Adam) and the root. when I log in as root where is the admin user contents? in windows its under users. in suse it should be under users. but where?
I have installed OpenSUSE a few months ago and worked fine. But from yesterday i can't login with root user. I received the message: Login: root Invalid user name I have no question for password neither.
I have a non-super user on my box which I'd like to give it MOUNT and UMOUNT permissions but I don't know how.For example purposes, the user name is "USER".I don't want to make it into a SuperUser, just give it rights to be able to issue the MOUNT and UMOUNT commands at the terminal.
It seems that 11.1 is not supported anymore. Can you confirm that ?I know, i need time to test a new system to replace it.Meanwhile, i try to update the packman packages and it cannot.It says :error: /var/cache/zypp/packages/Packman/.../somethin.rpm : Header V4 RSA/SHA1 signature: BAD, key ID 1abd1afb
Apart from KsCD and CD Player, (both of which are pretty good, but very basic), I have found it impossible to eject any music CD or DVD on any of the following:
Amarok JuK Media Kaffeine MPlayer and SMPlayer,
there does not seem to be any button, command or whatever to get the CD or DVD out of the drive, so now find that only way, is to stop player and then to open CD Player and use the eject button there.