public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: going from systemd to udev
Date: Wed, 05 Feb 2014 16:22:48 -0800	[thread overview]
Message-ID: <lcukk9$cqk$1@ger.gmane.org> (raw)
In-Reply-To: <CADPrc83E7hjEaDpHSVeojtPsE+HkMP1gP1ijXV_7EjnmEvwHWg@mail.gmail.com>

On 02/04/2014 04:10 PM, Canek Peláez Valdés wrote:
> On Tue, Feb 4, 2014 at 5:27 PM, walt <w41ter@gmail.com> wrote:

>> I'm sure that unsetting the consolekit useflag (when I switched to systemd)
>> resulted in some non-MicroSoft behavior, e.g. I now need to authenticate as
>> root when plugging or ejecting a USB stick, and yet again when I poweroff or
>> reboot the machine
> 
> This does not happen with GNOME 3. At all. The only time I'm asked for
> my root password is when I add or remove a printer, and
> app-admin/system-config-printer-gnome has been doing this since the
> very beginning. I'm still hoping that someone fix that thing.
> 
> With GNOME+systemd (and therefore, logind), the seat0 user gets
> ownership of all removable devices (except printers, see above), and
> the hardware buttons (poweroff, reset, suspend, etc.) No root password
> asked. Ever.
> 
> You can see your seat with loginctl; if your seat is not seat0, that's
> why your password is being asked. If it's seat0, then something else
> is going on. Do you have pam_systemd.so enabled in /etc/pam.d?

I am seat0 (I forgot about loginctl, thanks) but I'm not sure what you
mean by "enabled in /etc/pam.d".  Many months ago I remember being confused
by the last line of system-auth:

#cat /etc/pam.d/system-auth
auth		required	pam_env.so 
auth		sufficient	pam_ssh.so
auth		required	pam_unix.so try_first_pass likeauth nullok 
auth		optional	pam_permit.so
 
account		required	pam_unix.so 
account		optional	pam_permit.so
 
password	required	pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 
password	required	pam_unix.so try_first_pass use_authtok nullok sha512 shadow 
password	optional	pam_permit.so
 
session		optional	pam_ssh.so
session		required	pam_limits.so 
session		required	pam_env.so 
session		required	pam_unix.so 
session		optional	pam_permit.so
-session        optional        pam_systemd.so

I don't understand the meaning of the '-' in the last line.  I didn't
put it there, except possibly by accident when falling asleep at the
keyboard :)





  parent reply	other threads:[~2014-02-06  0:23 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 19:58 [gentoo-user] going from systemd to udev Joseph
2014-02-04 21:42 ` Daniel Campbell
2014-02-04 22:29   ` gottlieb
2014-02-04 23:27     ` [gentoo-user] " walt
2014-02-05  0:10       ` Canek Peláez Valdés
2014-02-05  1:30         ` Poncho
2014-02-05  1:34           ` Canek Peláez Valdés
2014-02-06  0:22         ` walt [this message]
2014-02-06  2:25           ` Canek Peláez Valdés
2014-02-07  1:21             ` walt
2014-02-07  1:38               ` Canek Peláez Valdés
2014-02-07 21:52                 ` walt
2014-02-07 22:32                   ` Canek Peláez Valdés
2014-02-07 23:25                     ` walt
2014-02-08  0:43                       ` Canek Peláez Valdés
2014-02-08  1:38                         ` walt
2014-02-05  6:21       ` Alan McKinnon
2014-02-05  9:27         ` J. Roeleveld
2014-02-05  0:03 ` [gentoo-user] " Canek Peláez Valdés
2014-02-05  0:24   ` Joseph
2014-02-05  0:38     ` Canek Peláez Valdés
2014-02-05  1:26       ` Joseph
2014-02-05  1:28       ` Joseph
2014-02-05  1:33         ` Canek Peláez Valdés
2014-02-05  2:01           ` Joseph
2014-02-05  2:06             ` Canek Peláez Valdés
2014-02-05  2:12               ` Joseph
2014-02-05  1:38   ` Joseph
2014-02-05  1:50     ` Canek Peláez Valdés
2014-02-06 19:22     ` Pavel Volkov

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='lcukk9$cqk$1@ger.gmane.org' \
    --to=w41ter@gmail.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