Linux - NewbieThis 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
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.
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.
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.
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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.