On Tue, 2012-04-10 at 16:36 +0200, Alban Browaeys wrote:
> Package: systemd
> Version: 44-1
> Followup-For: Bug #667470
> 
> I found adding pam_loginuid.so fixes the problem in all cases,
> except obvously for already running user sessions.
> I have plain added it to common-session and
> common-session-noninteractive.
> Is there an issue with adding it to common-session ? I saw you told to
> add it in gdm pam file but would not this let the login console sessions
> without a working sudo ?
> 
> BR,
> Alban

Ah, I see what I did wrong now. I added it to /etc/pam.d/login and
indeed sudo now seems to work 100% of the time. The couple of tests I
performed earlier having added it
to /etc/pam.d/common-session-noninteractive only succeeded by chance.

Anyway, I'm very suspicious that sudo still works *sometimes* without
pam_loginuid.so and caution against papering over this bug, even if the
various owners of /etc/pam.d/{login,*dm,sshd} and so on can be persauded
to add pam_loginuid.so.

Regards,

-- 
Sam Morris <s...@robots.org.uk>




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to