Skip to content

arch asks me for my password every time I want to mount a drive how do I turn that off ?

I used to use ubuntu never had to put password in to mount a drive I think this is like a SELINUX thing and someone else has done this before

Edited 17 Apr 2023. We only hold this version.

0 points21 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 25% up
Kind
Text
ID
12pnsp5

Author

11
posts
184
comments
7
media
View profile

25 comments

Internal or external drive?

3 points

Internal drive

2 points

I second putting the drive into the fstab file. If you add the user option, that should mount with no password.

Remember that if you mess up your fstab at all your computer will not boot. I put the nofail option in mine as well when I made them so the system would ignore it if I screwed up.

Here's a link if you need help.

1 points

How are you mounting the drive? Depending on the method/application, you might have to set up a NOPASSWD entry in your sudoers file for your user (or sudo group like wheel). I personally have an entry for my user with NOPASSWD as opposed to using the preset sudo group.

1 points

I open dolphin (file explorer) click on the internal drives. After I put password in I can mount all my other drives but after 15 minutes i have to renter password to mount another drive

1 points

Hmm...I use dolphin too, but never had that issue...also I don't actually mount drives using dolphin. I prefer doing it in my terminal application. I have aliases for mounting usb drives & for mounting my external portable drive. You do need sudo permissions to mount/unmount drives. If you do it using the alert that detects the drive in your system tray, it will mount as root & you don't have to enter a password. Otherwise, it's requiring a password for sudo permissions.

1 points

This is normal behaviour... by default if I remember it correctly, sudo will not ask password for the next 5 mins or so. Maybe even less like 3 minutes. After that its normal to ask again for a new password cause its a new session

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.