who am i
Ruslan Ermilov
ru at freebsd.org
Thu Jul 3 16:02:17 PDT 2003
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,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030704/71e67964/attachment.bin
More information about the freebsd-current
mailing list