LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2013, 07:55 AM   #1
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
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!

Cheers!
 
Old 11-08-2013, 08:08 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Put a line for it with in /etc/fstab with:
noauto,user
in fourth field.
 
1 members found this post helpful.
Old 11-08-2013, 08:29 AM   #3
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Original Poster
Rep: Reputation: 56
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?
 
Old 11-08-2013, 08:32 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
With "noauto" it won't be mounted at boot, only on demand. Or do I miss something?

EDIT plus, you can identify it by LABEL or UUID in the first field so that it always uses the same mount point.

Last edited by Didier Spaier; 11-08-2013 at 08:34 AM.
 
Old 11-08-2013, 08:43 AM   #5
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Original Poster
Rep: Reputation: 56
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.
 
Old 11-08-2013, 08:46 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by veeall View Post
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/
 
Old 11-08-2013, 10:07 AM   #7
jon lee
Member
 
Registered: Jul 2013
Posts: 113

Rep: Reputation: Disabled
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

....

http://en.wikipedia.org/wiki/Filesystem_in_Userspace
http://fuse.sourceforge.net/
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora installed on USB HDD doesn't start when the internal HDD is connected DavidBrenner Linux - Newbie 18 05-05-2013 09:46 PM
[SOLVED] 2nd SATA internal HDD, after partition, I cannot see it in OS. rockonwarock Linux - Hardware 17 12-17-2010 12:04 PM
Unable to mount USB HDD as normal user brisbin33 Arch 3 07-25-2008 06:10 AM
Can't mount NTFS partition (HDD problem?)... scompa Ubuntu 1 05-19-2007 06:00 AM
Mount ext3 partition in /home/USER/Documents with read/write/execute acces for USER anonymous234 Linux - Hardware 2 01-12-2007 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:15 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