The password problem was solved back in April, but some more info on the
semi random disk assignments might help someone as the question keeps
popping up:
I use genkernel and grub to boot via MBR - however root is on a btrfs
raid 10 (all SSD's, 3 are whole disk and one has root on partition 3
alo
On April 1, 2021 10:12:00 AM GMT+02:00, William Kenworthy
wrote:
>I have used fstab in the past -its more a workaround that breaks (i.e, a
>disk usually, but not always appears as /dev/sde [...]
fstab? Workaround? Use UUID.
--
Hund
Awesome!
I am glad to hear, that I could help. :)
-Ramon
On 01/04/2021 13:28, William Kenworthy wrote:
In the end it was easy: created a polkit rule enabling users in the
wheel group to not use a password.
rattus ~ # cat /etc/polkit-1/rules.d/55-disks.rules
// Allow any user in the 'wheel' g
In the end it was easy: created a polkit rule enabling users in the
wheel group to not use a password.
rattus ~ # cat /etc/polkit-1/rules.d/55-disks.rules
// Allow any user in the 'wheel' group to mount a disk
// without entering a password.
polkit.addRule(function(action, subject) {
if (act
Hi, I only have a default polkit rule - nothing about usb.
Just noticed the mount dialog box contains:
Action: org.freedesktop.udisks2.filesystem-mount-system
Vendor: The Udsks Project"
I have found some documents on the web, but nothing yet on how to deal
with this issue.
BillK
On 1/4/21 3:
I have used fstab in the past -its more a workaround that breaks (i.e, a
disk usually, but not always appears as /dev/sde, and while I currently
use btrfs I also use xfs on some portable drives.)
I mean automounting of disks (pam/polkit/udsiks2 seem to be involved),
not autofs in this case
BillK
Addendum:
I forgot to answer your other question:
Maybe you also have set some rules in "/etc/polkit/rules.d/"[1], which
allows your unprivileged user to mount USB drives and SD cards without
any password.
-Ramon
[1] https://wiki.gentoo.org/wiki/Polkit
On 01/04/2021 09:13, Ramon Fischer wr
Hello BillK,
I guess, that you are looking for the mount option "user":
/etc/fstab
/dev/sdx / ext4 noauto,user,relatime 0 2
In this way, I can mount "/dev/sdx" with an unprivileged user:
$ mount /
See also "man 8 mount" ("Non-superuser mounts").
I am not sure, i
Hi,
I use a sata drive caddy with 2Tb hard disks for offline backups.
Almost everytime (within sessions are ok?) it asks for a password before
automounting. This is just annoying and has no security benefit in my
environment (why just hard disks when USB keys and SD cards don't ask
for one?
9 matches
Mail list logo