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 _at__at_ -14,4 +14,4 _at__at_ 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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC