Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 1995 01:30:25 -0800
From:      Peter Wemm <peter>
To:        CVS-commiters, cvs-CVSROOT
Subject:   cvs commit: CVSROOT log_accum.pl
Message-ID:  <199511020930.BAA23378@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
swallace    95/11/02 01:30:23

  Modified:    .         log_accum.pl
  Log:
  Take $ENV{'USER'} for the login name, as rshd, telnetd and rlogind all
  set it.  I'm still at a loss to explain why getlogin and `logname`
  (which make a supposedly secure system call) are returning somebody else's
  username when cvs (a non privileged process) is run on the end of a rsh.
  If I do: rsh freefall 'print getlogin' it always seems to work...
  
  (If this doesn't work after this commit, I might commandeer Jeffrey Hsu's
  login.. :-)  This commit may say 'hsu' though.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511020930.BAA23378>