How to mount an internal hdd partition without user authentication?
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
How to mount an internal hdd partition without user authentication?
Hello, slackers!
I have a slack 14 machine with two hdd-s, one with system gets mounted upon boot by fstab, and the other manually through dolphin. Annoingly, every first time after boot i try to mount a partition of a second hdd, it asks for the user password - how to change that?
I guess udev/policykit i culprit here. It is probably easy to solve, just where to start? Thanks for any info!
No-no, i'd better not mount my second hdd by fstab, i'm only occasionally using it, it is mostly just a backup drive. That's kde policykit authentication asking for a password, though my user is already on all required groups: plugdev, wheel. There must be an another way to achieve passwordless mount with dolphin?
Ok, sorry i didn't realized this about 'noauto'. I was hoping for info on how to configure pol.-kit in kde for painless mounting. Noauto will do, just, i fear the same question arises when i plug in an usb hdd.
Ok, sorry i didn't realized this about 'noauto'. I was hoping for info on how to configure pol.-kit in kde for painless mounting. Noauto will do, just, i fear the same question arises when i plug in an usb hdd.
I don't know how pol.-kit works. Of course using fstab is only handy if you use always the same devices and there are not too many.
PS identifying devices by label or uuid is mostly useful for removable ones, like USB HDD or USB sticks.
Last edited by Didier Spaier; 11-08-2013 at 08:52 AM.
Reason: s/they/there/
I believe USB HDDs will mount just fine.
You can always use su in a terminal and do a mount by hand.
Ex:
mkdir /mnt/sda2
mount -t ext3 /dev/sda2 /mnt/sda2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.