Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-20-2004, 12:10 AM   #1
Registered: Sep 2003
Posts: 49

Rep: Reputation: 15
allowing non-root access to gnome's disk mounter

i got sudo set up and everything, but the gnome disk mounter still won't let a normal user mount any partitions. is there any i can get the disk mounter to work for a normal user? thanx.
Old 07-20-2004, 05:18 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
First: what distro are you using? Other users of the same distro may be able to help.
Second: you should be able to change the permissions on the disk mounter (assuming you have root authority) to allow members of the users group to execute the disk mounter. If you don't want every user listed in the user group to be able to do that, create a new group, add the names of the users who should be able to use the disk mounter, then change the owner/user rights of the disk mounter to reflect the new user group with the appropiate permissions.
Old 07-20-2004, 07:02 PM   #3
Registered: Sep 2003
Posts: 49

Original Poster
Rep: Reputation: 15
i'm usin slackware. i tried adding my user to the 'bin' group, which /bin/mount is a part of. still didn't work. i get a message "only root can mount" or something like that.
Old 08-03-2004, 12:19 PM   #4
Registered: Sep 2003
Posts: 49

Original Poster
Rep: Reputation: 15
the way for this to work is to set the suid for the mount command. so basically,

chmod a+s /bin/mount
chmod a+s /bin/umount
Old 05-09-2006, 03:18 PM   #5
LQ Newbie
Registered: May 2006
Posts: 1

Rep: Reputation: 0
On Debian 3.1, and probably other distributions, you can set the "user" option in /etc/fstab, which allow any user to mount the file system.
(see the manual for the mount command).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing port access to non-root joosep Linux - Networking 1 08-05-2005 09:24 AM
Allowing non-root users rw access to floppy disks? black hole sun Linux - Hardware 3 02-12-2005 08:43 PM
More icons for gnome disk mounter applet pwalden Linux - Software 0 01-11-2005 03:58 PM
GFTP allowing Root access to an FTP user scottpioso Red Hat 2 01-07-2004 06:20 PM
Anyway to use rsync ssh without allowing root access? ifm Linux - Security 0 06-12-2002 01:01 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration