LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2010, 07:29 AM   #1
rdtech25
LQ Newbie
 
Registered: Dec 2010
Posts: 11

Rep: Reputation: 0
Regarding Local Hard disks


In Fedora when we double click the Partitioned Local Hard Disks then we have to give the root password otherwise it will not open. Is there any way to read and execute the Partitioned Local Hard Disks without giving the Root Password.
 
Old 12-28-2010, 07:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Why would you want to? Security models and conventions exist for very good reasons, and I'd really suggest trying to react against them. Why would you ever want to provide unsecured access to the partitions on the system? It's not even as if you would be automating this or going in there with any regularity at all. It's possible to do it via sudoers or something, but I'd urge you to decide you don't want to after all.
 
Old 12-28-2010, 10:39 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
rdtech25, acid_kewpie is correct, you don't want to give unsecured access to the ability to modify or alter any partition information. However, I read your question a little differently and I am wondering if you are trying to MOUNT an existing partition and that this is requiring root or sudo privilege. If this is the case, you can add the partition entry to your /etc/fstab which will allow mounting of this partition without elevated privilege.
 
Old 12-28-2010, 10:41 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Oh yes, if I read that again it does sound like it might refer to existing disks. Don't recognise the text in the slightest though.... where is this coming from?
 
Old 12-29-2010, 12:26 AM   #5
rdtech25
LQ Newbie
 
Registered: Dec 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks to all of you for replies. Now I will add the partition entry to my /etc/fstab which will allow mounting of this partition without requiring any kind of privilege...but sorry to say that I don't no how to do it.
 
Old 12-29-2010, 06:59 AM   #6
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
The file is located in /etc/fstab. You will pretty much add an entry to it containing the same data as your manual mount statement. For example, to mount sda2 on /mnt/mydrive you would have an entry similar to this:
Code:
/dev/sda2    /mnt/mydrive/ ext3 defaults 0 0
I would recommend that you read the man pages (man fstab) for clarification on the meaning of the parameters for your mount as what I showed above is just an example.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Four hard disk problems over four hard disks in a row. Yaro Linux - Hardware 13 04-25-2009 07:47 PM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 11:43 AM
computer stays for five minutes at boot! (setting up local disks) Falafel Fedora 1 03-31-2004 12:35 PM
2 Hard Disks and 2 OS? How to? nbn792 Linux - General 5 12-26-2003 08:20 PM
2 Hard disks hadi Linux - Newbie 4 10-29-2003 03:34 PM


All times are GMT -5. The time now is 12:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration