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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-20-2004, 01:10 AM
|
#1
|
Member
Registered: Sep 2003
Posts: 49
Rep:
|
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.
|
|
|
07-20-2004, 06:18 AM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
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.
|
|
|
07-20-2004, 08:02 PM
|
#3
|
Member
Registered: Sep 2003
Posts: 49
Original Poster
Rep:
|
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.
|
|
|
08-03-2004, 01:19 PM
|
#4
|
Member
Registered: Sep 2003
Posts: 49
Original Poster
Rep:
|
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
|
|
|
05-09-2006, 04:18 PM
|
#5
|
LQ Newbie
Registered: May 2006
Posts: 1
Rep:
|
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).
|
|
|
All times are GMT -5. The time now is 04:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|