public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mounting USB without root password
Date: Fri, 29 Jan 2021 17:06:18 +0000	[thread overview]
Message-ID: <7867758.T7Z3S40VBb@lenovo.localdomain> (raw)
In-Reply-To: <d9d61dff848f2c7f34c800361cddbd77c3e89aee.camel@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

On Friday, 29 January 2021 16:47:51 GMT Matt Connell (Gmail) wrote:
> On Fri, 2021-01-29 at 09:34 -0700, thelma@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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-01-29 17:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 15:21 [gentoo-user] mounting USB without root password thelma
2021-01-29 16:01 ` bobwxc
2021-01-29 16:34   ` thelma
2021-01-29 16:47     ` Matt Connell (Gmail)
2021-01-29 16:58       ` Matt Connell (Gmail)
2021-01-29 17:06       ` Michael [this message]
2021-01-29 17:12         ` Matt Connell (Gmail)
2021-01-29 17:40           ` thelma
2021-01-29 18:23             ` Matt Connell (Gmail)
2021-01-30  8:46               ` Róbert Čerňanský
2021-01-30 21:14                 ` Neil Bothwick
2021-02-06 21:00             ` thelma
2021-02-06 21:34               ` Neil Bothwick
2021-02-06 22:12                 ` thelma
2021-01-29 17:37     ` [gentoo-user] " Grant Edwards
2021-01-29 18:18       ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7867758.T7Z3S40VBb@lenovo.localdomain \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox