From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 16:02:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E976537B40C; Thu, 3 Jul 2003 16:02:16 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 097474403D; Thu, 3 Jul 2003 16:02:13 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h63N29VU005012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jul 2003 02:02:10 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h63N299B005007; Fri, 4 Jul 2003 02:02:09 +0300 (EEST) (envelope-from ru) Date: Fri, 4 Jul 2003 02:02:09 +0300 From: Ruslan Ermilov To: Richard Arends Message-ID: <20030703230209.GA4938@sunbay.com> References: <20030704003539.A26966@mail.unixguru.nl> <20030703225813.GA4432@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20030703225813.GA4432@sunbay.com> User-Agent: Mutt/1.5.4i cc: current@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: who am i X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 23:02:17 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 04, 2003 at 01:58:13AM +0300, Ruslan Ermilov wrote: > On Fri, Jul 04, 2003 at 12:46:10AM +0200, Richard Arends wrote: > > Hello, > >=20 > > Please take a look at this: > >=20 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > [snowlap] ~$ who am i > > richard ttyp5 Jul 4 00:34 (:0.0) > > [snowlap] ~$ su - > > Password: > > Last login: Fri Jul 4 00:31:17 on ttyp5 > > snowlap# who am i > > root ttyp5 Jul 4 00:34 > > snowlap# exit > > logout > > [snowlap] ~$ who am i > > root ttyp5 Jul 4 00:34 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > > Of course the latest 'who am i' should return 'richard' and not(!) 'roo= t' > >=20 > Yes, this sucks. DES, could you please fix it? >=20 Doh, forgot to mention: the following patch fixes it for me. %%% Index: su =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/etc/pam.d/su,v retrieving revision 1.15 diff -u -r1.15 su --- su 14 Jun 2003 12:35:05 -0000 1.15 +++ su 3 Jul 2003 22:58:37 -0000 @@ -14,4 +14,4 @@ account include system =20 # session -session include system +#session include system %%% Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/BLXxUkv4P6juNwoRAh/bAJ4yfRUgn/8eIIhQatxuLExo59fFWQCfZKbF sGV0G72f/Q/wq0Va7FQcItE= =+a82 -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--