 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

6th July 2012, 01:35 AM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Massachusettes - USA
Posts: 8

|
|
|
mount a partition without root password
I have a data partition that is not mounted on boot, thats how I like it, but when I mount it as regular user I have to give root passwd .... how can I make it so that it wouldn't need root passwd to monut it?
Thanks
Erick
|

6th July 2012, 02:26 AM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 640

|
|
|
Re: mount a partition without root password
You can use fuse as a regular user. I think the program is fusermount but the documentation for fuse is hidden somewhere. man fusermount isn't there on my F17 but the program is.
__________________
======
Doug G
======
|

6th July 2012, 10:10 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,718

|
|
|
Re: mount a partition without root password
Try
Code:
The non-superuser mounts.
Normally, only the superuser can mount filesystems. However,
when fstab contains the user option on a line, anybody can mount
the corresponding system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 filesystem found on his CDROM
using the command
mount /dev/cdrom
or
mount /cd
|

6th July 2012, 06:35 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,708

|
|
|
Re: mount a partition without root password
The "user" or "users" mount options in /etc/fstab are the normal way to do that. "users" allows a disk to unmounted by a different user to the one who mounted it, whereas "user" causes the user who originally mounted it to "own" that mount.
|

6th July 2012, 06:47 PM
|
 |
Registered User
|
|
Join Date: Jun 2010
Location: Lost...
Posts: 551

|
|
|
Re: mount a partition without root password
Quote:
Originally Posted by llvmech
I have a data partition that is not mounted on boot, thats how I like it, but when I mount it as regular user I have to give root passwd .... how can I make it so that it wouldn't need root passwd to monut it?
Thanks
Erick
|
There is udisks for you:
Code:
udisks --mount /dev/sda1 <mountpoint>
Check 'man udisks' for details.
__________________
:confused:
|

6th July 2012, 09:17 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Massachusettes - USA
Posts: 8

|
|
|
Re: mount a partition without root password
Thanks for the replies ....
|

6th July 2012, 09:59 PM
|
 |
Registered User
|
|
Join Date: Sep 2009
Posts: 1,409

|
|
|
Re: mount a partition without root password
Actually, check man [B]udisksctl/B] for command line tools.
dd_wizard
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:30 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|