Not sure if this is a general Linux question or a KDE question, but I’m trying to get my system to automatically mount my drives formatted for use in Windows for my use in EOS. I currently have it so the drives mount at log in, but it requires me to enter my password, which is fine but slightly annoying.
Is there a way to get these mounted automatically without needing to enter a password? Or is this just a limitation of the formatting?
Note that fstab is readable by everyone!!! Putting a password directly in this file, creates a security risk. Better use the option credentials= and store your password here with proper file access. man mount.cifs is your friend!
I wasn’t proposing putting a password in /etc/fstab.
Often, the reason you are getting asked for a password is because you need rights to mount the device, not because the device is actually password protected. By adding it to /etc/fstab, the device gets mounted by systemd.