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,
> > 
> > Please take a look at this:
> > 
> > =================================================================
> > [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
> > =================================================================
> > 
> > Of course the latest 'who am i' should return 'richard' and not(!) 'root'
> > 
> Yes, this sucks.  DES, could you please fix it?
> 
Doh, forgot to mention: the following patch fixes it for me.

%%%
Index: su
===================================================================
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
 
 # session
-session                include         system
+#session               include         system
%%%


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]               Sunbay Software Ltd,
[EMAIL PROTECTED]               FreeBSD committer

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to