LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 07-20-2004, 12:10 AM   #1
hypermegachi
Member
 
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
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,782

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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
hypermegachi
Member
 
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
hypermegachi
Member
 
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
gadjo
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).
 
  


Reply


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


All times are GMT -5. The time now is 06:49 AM.

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