Software :: Mount As A Different User?
Jun 16, 2011
Im mounting a directory, that I need to be accessible from a normal user's desktop.
mount -t cifs -o credentials=/root/.creds //192.168.100.226/mountpoint/ /mnt/mountpoint/
But it is giving /mnt/mountpoint permissions as 770, root:1003
How do I change that group to... 501?
View 4 Replies
ADVERTISEMENT
Nov 19, 2009
This is not a particular Fedora issue, but I take the chance
How can I mount a network (nfs) drive (on a RHEL4 machine) from my FC11, but as another user.
E.g. I would like to mount the folder /home/userA on the network drive. But my local username is userB. Hence I don't seem to have access to mount the drive.
sudo mount -t nfs eda4:/home/userA /mnt/eda4 gives the message: "mount.nfs: access denied by server while mounting (null)"
I have put a broadcast address in /etc/exports and started an nfs daemon on the remote server.
View 3 Replies
View Related
Mar 16, 2010
I have debian as an NFS client. I would like to mount a remote NFS with a specific user permissions (to specify the remote user account)
View 2 Replies
View Related
Apr 25, 2011
How can i mount a dev (/dev/sdb1) of type vfat so i as a user can use it at boot. if i change /video to owner david i can use it at boot. But if fstab says mount /dev/sdb1 at /video it becomes owned by root and wont let root change owners. even if fstab says rw,user i still cant mount or unmount /dev/sdb1 at /video
how do i mount a drive that motion can use to store files on?
dhorner@usa.net
View 1 Replies
View Related
Dec 16, 2010
I've setup an ecryptfs folder which I can easily mount/umount as su.
Inspite of adding a `user' option in fstab I'm unable to mount the folder as normal user: mount secret
Code:
Passphrase:
Error attempting to evaluate mount options: [-22] Invalid argument
Check your system logs for details on why this happened.
Try updating your ecryptfs-utils package, and/or
[Code]....
View 2 Replies
View Related
Jul 17, 2011
I am truly sorry if this has already been answered, but I don't think the question was asked in EXACTLY THE SAME WAY, maybe?
I installed Slackware 13.37 on my Dell desktop pc (I don't think that the model information is relevant in this case...), and I was able to insert CD's and DVD's which would then be mounted AUTOMATICALLY so that I could then browse the contents etc. I can STILL do this, whether or not I am logged-in as "root" or as a "normal" user...
Now here is my problem : I JUST installed Slackware 13.37 on my Toshiba notebook (a Satellite 210, in this case) TODAY. Now, I can insert the same CD's / DVD's into the drive and have them automount as the "root" user, but when I log in as a simple user, I get errors telling me that they can NOT BE MOUNTED! The messages on quite long and complex, but I can paste an copy into a secondary post if that will help. For my part, what the error message says is a lot of gibberish!
I have examined the user information on both my desktop AND laptop computers to see if there were any major differences, and there are NONE EXCEPT FOR ONE : My "user" account on my desktop is user # 1000, while on my notebook it is 100. The DEFAULT offered in both cases was 1000 when I created the accounts, but I did not see
why the next user in the list should be over 999 higher than the last one listed, so on the notebook I did not accept the default offered, and instead choose to use # 100. Was that wrong? Why does Slackware start the first created user at such a large user number?
I did NOT do anything to allow the automount of optical disks as a user on my desktop pc (at least, not to my knowledge...) that I have not done on the notebook!
View 4 Replies
View Related
Jun 28, 2011
I just want to be able to access and modify the files on my usb drive as a normal user. The mount command works perfectly as root but then the files that I end up copying to my home folder can only be modified as root. I only use a window manager and use just bash for file management. I just want to be able to it through the command line.
(using 13.37)
View 14 Replies
View Related
Jul 30, 2009
Quote:
Originally Posted by G�del
It gets me within a mile
how i am auto mount the ntfs drives through the normal user with out asking password... I need it and also one thing is i want two drives only auto mount and when i open the other drives it should ask the password?...
View 1 Replies
View Related
Jul 19, 2011
I am writing this software that creates virtual block device nodes almost like loop does. I need to allow non-superusers to mount and umount filesystems from these devices. I don't know the names of the block device nodes beforehand so i can't use fstab entries to add "user" or "owner" flags there.
Currently i solve this by providing a small suid helper tool that verifies that this is indeed "my" block device the user is trying to mount and then just call /sbin/mount or /sbin/umount to do the job. This is definitely better than setting a suid bit for the whole program but not really perfect.
View 1 Replies
View Related
May 5, 2010
I have a ntfs-partition that I will use for documents for me and another user. I works fine for me.
The partition is mounted and I can read/write.
However, for the other user the partition is not showing up. What to do?
I've tried changing the permissions from nautilus, but no success.
View 9 Replies
View Related
Jul 8, 2011
I want the users of the other machines, which have accounts in my server, to mount their home directories in the server. I managed to do everything, except that for the moment I can only mount their home directories by being the superuser of the server, a privilege that I don't want to give to the users. Also, I don't want their home directories to be mounted automatically. Thus, from a "normal" filesystem share, I want to: 1-The home directories of user in other machines be mountable in the user areas of the server (I can do that already).
2-I want that the users be able to mount by hand their directories, so that the directories are not permanently mounted. Currently, I can only mount and umount being the superuser of the server. I don't want to give superuser privileges to all server users.
3-I don't want their directories to be mounted on startup (otherwise I could simply add the mounts to /etc/fstab). Thus, does anyone knows how can I give the users the privilege only to mount a specific filesystem?
View 4 Replies
View Related
Jan 31, 2010
I really can't mount my partitions as an normal user. I added umask and users option.
When I mount a partition i get no errors, but the directory is empty. I umounted first.
Here is my fstab:
Code: #
# /etc/fstab
# Created by anaconda on Sat Jan 30 18:30:30 2010
#
[Code]....
View 9 Replies
View Related
Dec 11, 2010
I have a directory, /root/backup, that I mount and run a bunch of rysnc scripts against to backup my box. I'm running into a very recent problem where when I run this command:
A directory that once looked like this:
Goes to this:
It changes from root to www (another user on my system) and I have no idea why.
When I look at the /mount/procs file, I see this:
So it looks like the uid is correct...
I believe this is what is causing my rsync scripts to fail (they only copy over directories and not the files in those directorys and I get a lot of permissions failed errors)
All of this is run as root in cron jobs
As a note, here is a sample rsync command:
View 4 Replies
View Related
Oct 20, 2010
In my machine, there are 2 mount points - / and /userdata. From the root user, I want to create an oracle user at the /userdata mount point, i.e the home of the oracle user should be mounted on /userdata.
View 7 Replies
View Related
Nov 24, 2010
I am unable to mount my ext hdd as normal user ,i am using xfce Unable to mount "80G Volume":
Rejected send message, 1 matched rules; type="method_call", sender=":1.23" (uid=1000 pid=2776 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1908 comm="/usr/sbin/hald))
View 6 Replies
View Related
Nov 26, 2010
I know how to modify the /etc file to change permissions, but I don't think that it could apply to this:
I'm using my Ubuntu desktop to compile Linux From Scratch onto a Virtual Box disk image. I can make it mountable by using a vdfuse program I downloaded, but then I have to use sudo to mount the actual partition. I do not want to give another account the ability to use sudo.
p.s. does this only happen to certain distros, or is a part of the Linux kernel?
View 6 Replies
View Related
Jun 5, 2010
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.
View 7 Replies
View Related
Jan 31, 2011
Looks like its some sort of PolicyKit issue. Documentation (and I suspect the system itself) all assume that I have only one user. But my computer is a two-seat, my girlfriend and I are logged in at the same time. Only I am able to mount and write to USB drives. I suspect its because my account is always logged in first.
Dolphin gives the following error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy
blah blah org.freedesktop.hal.storage.mount-removable auth_admin_keep_always
So my guess is that this "auth_admin" for some reason only refers to my user. I opened up the "Global Configuration" application (something that typed up when I filtered for 'policy' in the application launcher), and added my user, my girlfriends user and the 'user' group as "System Administrators". I logged out and logged back in on her account and this did nothing.
View 1 Replies
View Related
May 17, 2010
I have a problem to mount my cdrom as a regular user. After inserting a cd, I receive this error message:"Error mounting: mount exited with exit code 1: helper failed with:mount: must be superuser to use mount" After mounting the cdrom as superuser with "sudo mount /media/cdrom".I can access the cd also as regular user. This behavior is inconvenient and I would like to be able to mount the cdrom as user.Honestly, I do not have the experience to tell if this should be fine or not. Do you have any advice for me to fix this problem? I am running Ubuntu 9.10 with a 2.6.32-02063209-generic kernel.
View 6 Replies
View Related
Nov 1, 2010
I have a vfat partition under RedHat RHEL5 that I currently must mount manualy after each boot. I would like it to auto-mount but I cannot find a way to do this without it becoming ro except for root. My other partitions auto-mount just fine. I have tried the vfat as a separate partition and as a VLM logical drive (as it currently is).
The fstab statement:
"/dev/VolGroup00/LogVolDos /dos vfat noauto,users 0 0"
allows me to mount it as a user. The statement:
"/dev/VolGroup00/LogVolDos /dos vfat defaults 1 2"
is what I use for other VLM partitions, but for the vfat it seems to only allow root access. Manually mount this partition is OK, it's just that I have sometimes forgotten and then it is not included in backups. What do I need to do to make the vfat auto-mount as accessible for a user?
View 4 Replies
View Related
Oct 4, 2010
this subject seems to have been touched a hundred times, but after following all the advice google could provide, i'm still unable to mount cifs shares as user, here's the fstab line
<server> <mountpoint> cifs rw,noauto,credentials=/etc/gattonauth,uid=1000,gid=1000,dir_mode=0770 0 0
i've chowned the mountpoint to the user,
ive tried
chmod +s /sbin/mount.cifs /sbin/mount.cifs
suggested by http://www.linuxquestions.org/questi...-lenny-711337/
View 9 Replies
View Related
Sep 19, 2010
I've a redhat server and a windows 2003 server. The windows box has a shared directory on it that I want to mount on the linux box. This I can do no problem using the following command:
mount -t cifs -o username=windowsuid,password=mypass //winservername/directory /mnt/directory
This all works perfectly however I need to mount this as a non root user. This is where I'm having difficult. I constantly run into "only root can do that". I've edited the fstab and added the entry in there for the mount with the flag user or users and neither makes a difference. I've also tried editing the sudoers file and still the same.
View 4 Replies
View Related
Jun 12, 2011
How can I give 1 user access to mount 1 particular filesystem? This is for Debian 6 64bit.
View 4 Replies
View Related
Jan 6, 2011
I want to configure icecast2 server with authentication in mount point so i did as was in help file but was not able to add user in htpasswd file
config file details
=====================
<mount>
<mount-name>/live</mount-name>
<max-listeners>500</max-listeners>
<max-listener-duration>3600</max-listener-duration>
<charset>ISO8859-1</charset>
<public>1</public>
[Code]...
View 4 Replies
View Related
Sep 2, 2010
When I mount a USB partition from the console, I need to execute mount as root unless I add a line in /etc/fstab. However, Nautilus mounts my USB stick automatically without asking for root permissions and without any entry in/etc/fstab. How does it do this?
View 6 Replies
View Related
Oct 6, 2010
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.
View 2 Replies
View Related
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).
View 9 Replies
View Related
Aug 31, 2010
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:
[code]...
View 2 Replies
View Related
Aug 8, 2011
How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:
dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000
View 1 Replies
View Related
Mar 14, 2010
I have an ntfs external hd; I can mount and use it fine, without entry in fstab, but not share stuff. That is to say: I can use nautilus / thunar to share folders on it without errors, but they are not accessible via the network. The issue may be that the mount point has permissions 700. I can solve that by Code:sudo mount -t ntfs-3g /dev/sdb1 /media/Databank -o umask=0,nls=utf8or by setting umask=022 in fstab, but then I can't mount it as user anymore; if I set fstab to
Code:
/dev/sdb1 /media/Databank ntfs-3g user,umask=022,nls=utf8,defaults 0 0
I get this when I try to mount it as user in the filebrowser:
[code]....
View 1 Replies
View Related