1 |
Hello BillK, |
2 |
|
3 |
I guess, that you are looking for the mount option "user": |
4 |
|
5 |
/etc/fstab |
6 |
|
7 |
/dev/sdx /<some_path> ext4 noauto,user,relatime 0 2 |
8 |
|
9 |
In this way, I can mount "/dev/sdx" with an unprivileged user: |
10 |
|
11 |
$ mount /<some_path> |
12 |
|
13 |
See also "man 8 mount" ("Non-superuser mounts"). |
14 |
|
15 |
I am not sure, if this also works with "automount" from "net-fs/autofs", |
16 |
if this is what you meant with "automounter". |
17 |
|
18 |
-Ramon |
19 |
|
20 |
On 01/04/2021 06:51, William Kenworthy wrote: |
21 |
> Hi, |
22 |
> |
23 |
> I use a sata drive caddy with 2Tb hard disks for offline backups. |
24 |
> Almost everytime (within sessions are ok?) it asks for a password before |
25 |
> automounting. This is just annoying and has no security benefit in my |
26 |
> environment (why just hard disks when USB keys and SD cards don't ask |
27 |
> for one?). |
28 |
> |
29 |
> So, how can I disable the automounter asking for a password either in |
30 |
> general, or just for my backup drives? |
31 |
> |
32 |
> BillK |
33 |
> |
34 |
> |
35 |
> |
36 |
|
37 |
-- |
38 |
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF |