On Friday, 29 January 2021 16:47:51 GMT Matt Connell (Gmail) wrote:
> On Fri, 2021-01-29 at 09:34 -0700, the...@sys-concept.com wrote:
> > I uncommented in:  sudoers (it works)
> > %wheel ALL=(ALL) ALL
> > 
> >  %wheel ALL=(ALL) NOPASSWD: ALL
> 
> This feels like fixing a loose screw with a sledgehammer.
> 
> This change allows any wheel group users to execute any command (via
> sudo) without authenticating.  That is to say, the change is far more
> broad than the originally stated issue you're trying to fix.  Do you
> implicitly trust all wheel group users that much?
> 
> sysfs/udisks, as stated previously, is probably the correct tool for
> the job.

What Matt said.

You have effectively elevated to root level all of your wheel users, without 
the need to use a root passwd.  There is a reason group wheel exists and this 
is not to duplicate root in terms of privileges.

Your issue/question is why does your DE, in this case XFCE, stopped mounting 
removable block devices.

The userspace application used by DEs is sys-fs/udisks.  You can use this on a 
terminal yourself:

udisksctl mount --block-device /dev/sdbX

There is also the sys-apps/pmount command.  However, in the first instance you 
should look into what XFCE offers for mounting removable block devices and if 
something is amiss with that.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to