LinuxQuestions.org
Register a domain and help support LQ
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: Slackware 12.1, slackware64-current
Posts: 252

Rep: Reputation: 43
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,156

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
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: Slackware 12.1, slackware64-current
Posts: 252

Original Poster
Rep: Reputation: 43
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,156

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
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: Slackware 12.1, slackware64-current
Posts: 252

Original Poster
Rep: Reputation: 43
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,156

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
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: 81

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


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
[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


All times are GMT -5. The time now is 03:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration