LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-20-2014, 02:35 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Accessing other partitions without root password


I am using Debian stable with KDE and it is otherwise working well. When I try to access another partition in file manager, it asks for root password. Then the partition is mounted and it works well. Is there any way I can have the file manager access other partitions without asking for root password? My /etc/fstab file is as follows:
Code:
$ rncat /etc/fstab 
/dev/sda8     /       ext4    errors=remount-ro     0      1
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
I do not wish to change the fstab file. Is it possible to access other partitions (with proper access) without asking for root password and without changing the fstab file?
 
Old 01-20-2014, 02:44 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
i use udisks, it mounts almost all
 
Old 01-20-2014, 05:58 AM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I see that udisks are already installed on my system. What are the steps for using it (or point me to an appropriate link)? I tried to check on following and other pages on the net but could not figure it out clearly:
https://wiki.archlinux.org/index.php/Udev#Udisks
 
Old 01-20-2014, 06:11 AM   #4
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
I use kde, in dolphin (file manager) i have device list i can mount on the fly with a click

in a terminal, "udisks --mount /dev/sda1" or whatever device you want

"lsblk" show you a quick list of mounted devices/partitions
 
Old 01-20-2014, 06:17 AM   #5
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I am also using kde with dolphin file manager. But when I click on a partition in dolphin, it asks for the root password. Can I not mount it with mouse rather than giving a command in the terminal?
 
Old 01-20-2014, 06:28 AM   #6
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
look for "udisksctl" command (udisks v2), you can mount with "udisksctl mount -b /dev/sda1"
 
Old 01-20-2014, 07:33 AM   #7
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I have udisks (version 1) installed and there is no udisksctl command. The KDE is ver 4.8.4 and apparently it does not support udisks2. Debian-stable repository also does not have udisks2.
 
Old 01-23-2014, 09:39 PM   #8
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
How is it that in some linux distributions, the partitions are mounted in the file-manager without any password and in other distributions they need password (either user or root) to be accessible? Where do these settings lie?
 
  


Reply



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
i forget my root password. how to login in root account with new password in red hat. balajiraja Linux - Desktop 3 08-22-2012 01:41 AM
sudo password not same as root password - ubuntu 11.04. hence can't access partitions daudiam Linux - Newbie 1 09-03-2011 11:02 AM
[SOLVED] accessing root with/without password mahmoodn Ubuntu 2 10-30-2010 06:32 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
non-root users accessing NTFS partitions? Jaymz87 Slackware 11 06-14-2005 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration