1 |
On Friday, 29 January 2021 16:47:51 GMT Matt Connell (Gmail) wrote: |
2 |
> On Fri, 2021-01-29 at 09:34 -0700, thelma@×××××××××××.com wrote: |
3 |
> > I uncommented in: sudoers (it works) |
4 |
> > %wheel ALL=(ALL) ALL |
5 |
> > |
6 |
> > %wheel ALL=(ALL) NOPASSWD: ALL |
7 |
> |
8 |
> This feels like fixing a loose screw with a sledgehammer. |
9 |
> |
10 |
> This change allows any wheel group users to execute any command (via |
11 |
> sudo) without authenticating. That is to say, the change is far more |
12 |
> broad than the originally stated issue you're trying to fix. Do you |
13 |
> implicitly trust all wheel group users that much? |
14 |
> |
15 |
> sysfs/udisks, as stated previously, is probably the correct tool for |
16 |
> the job. |
17 |
|
18 |
What Matt said. |
19 |
|
20 |
You have effectively elevated to root level all of your wheel users, without |
21 |
the need to use a root passwd. There is a reason group wheel exists and this |
22 |
is not to duplicate root in terms of privileges. |
23 |
|
24 |
Your issue/question is why does your DE, in this case XFCE, stopped mounting |
25 |
removable block devices. |
26 |
|
27 |
The userspace application used by DEs is sys-fs/udisks. You can use this on a |
28 |
terminal yourself: |
29 |
|
30 |
udisksctl mount --block-device /dev/sdbX |
31 |
|
32 |
There is also the sys-apps/pmount command. However, in the first instance you |
33 |
should look into what XFCE offers for mounting removable block devices and if |
34 |
something is amiss with that. |