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

Christian Perrier Christian Perrier <bubulle@debian.org>, 311058@bugs.debian.org
Sat, 28 May 2005 06:48:55 -0400


Quoting Andreas Metzler (ametzler@downhill.at.eu.org):
> Package: login
> Version: 1:4.0.3-31sarge5
> Severity: normal
>=20
> This change
>   * Make login and su use limits.so PAM module by default
>     Closes: #300720
>=20
> 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.
>=20
> 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=A0?


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