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.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 25% up
- Kind
- Text
- ID
- 12pnsp5
25 comments
Internal or external drive?
Internal drive
Why not just put it in
/etc/fstabso that you'll never need to manually mount it again?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.
Read here on the wiki
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.
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
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.
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
Deleted before we saved it.