At least on the default gnome installation the automount part is implemented in gnome and you can disable it there (org/gnome/desktop/media-handling automount=false).Automount is a Security issue. Only Admin should be able to mount a drive and do it through the terminal:Code:
sudo mount /dev/sdb1 /media/Useramesudo umount /dev/sdb1 /media/Username
When you mount USB drives through udisks, the mountpoint is protected with an ACL that prevent unauthorized users from tampering with the drive contents. If you have FAT filesystem on a USB drive and use the above command then even the "nobody" user can see contents of your USB drive and even write to it.
Statistics: Posted by lindi — 2024-07-31 13:55 — Replies 40 — Views 8682