[Pkg-shadow-devel] Bug#311058: login: pam_limits.so in pam.d/su breaks "nice su -c foo bar"

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 311058@bugs.debian.org
Sat, 28 May 2005 14:34:51 +0200


On 2005-05-28 Christian Perrier <bubulle@debian.org> wrote:
> Quoting Andreas Metzler (ametzler@downhill.at.eu.org):
[...]
> >   * Make login and su use limits.so PAM module by default
> >     Closes: #300720
 
> > breaks stuff like this:
> > nice -n 19 su -c "somecommand" someuser
> > because pam_limits.so resets the nice value to 0 even if
> > /etc/security/limits.conf is empty.

> > See <http://bugs.debian.org/241663>.

> Well, indeed. But, here, aren't we more the victims of #241663 rather
> than the responsible for the change of behaviour ?

> I'm considering reassining this to libpam-modules and merge it with
> 241663

Hello,
I'd appreciate if this bug could stay assigned to login for
documentation purposes.

I agree with you that the proper fix is to change pam_limits, however
I doubt this is going to happen soon. - I'll leave up to your
judgement whether you consider this issue or #300720 more important.
             thanks, cu andreas

-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/