I want to mount/umount a 3rd hard disk (with a NTFS filesystem) under Linux (OpenSuse (Leap15.2)) only as needed and as a normal user. But without entering my root password every time. So far I have tried it with entries in the fstab and in sudoers, but each time I must type the root password. Below are the entries in fstab and sudoers:
in sudoers:
root ALL = (ALL) ALL
ALL ALL = (ALL) ALL
#
%users ALL = (root) NOPASSWD:/usr/bin/mount
%users ALL = (root) NOPASSWD:/usr/bin/umount
in fstab:
LABEL=DATA3 /home/leap153/data3 ntfs-3g noauto,uid=1000,gid=100,dmask=002,fmask=002,noatime 0 0
FUSE is installed and uid and gid have the correct number of the user (checked).
sudo
?visudo
if that's applicable on OpenSuse?