Subject: Re: su and resources not honored
To: Jeremy C. Reed <reed@reedmedia.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-security
Date: 06/14/2006 18:15:59
--IU5/I01NYhRvwH70
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 14, 2006 at 05:55:50PM -0700, Jeremy C. Reed wrote:
> On Wed, 14 Jun 2006, Bill Studenmund wrote:
>=20
> > If I understand things right, the way this would work is that user A wo=
uld=20
> > log into user B's account but the process limits & such would be counte=
d=20
> > against user A, correct? Or would they no longer be counted against use=
r A=20
> > and user B would be well-above limits?
>=20
> They would not be counted against user A. And user B would never get=20
> resource limits set (i.e. setrlimit), so could potentially be above=20
> limits.
>=20
> It works correctly on NetBSD 2.1 (before pam):

[snip]

> It doesn't work with NetBSD 3.99.20:

Then it's a bug. :-)

Take care,

Bill

--IU5/I01NYhRvwH70
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFEkLTPWz+3JHUci9cRAhoZAJ9mcXPSYH8MU2/qwsNtazmmv8n2NwCfWzXR
nTyKgSmKafCXXIqerlQ/O84=
=wsrt
-----END PGP SIGNATURE-----

--IU5/I01NYhRvwH70--