From owner-freebsd-commit Thu Nov 2 02:09:45 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24911 for freebsd-commit-outgoing; Thu, 2 Nov 1995 02:09:45 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24899 for cvs-all-outgoing; Thu, 2 Nov 1995 02:09:42 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24889 for cvs-CVSROOT-outgoing; Thu, 2 Nov 1995 02:09:39 -0800 Received: (from hsu@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24880 ; Thu, 2 Nov 1995 02:09:31 -0800 Date: Thu, 2 Nov 1995 02:09:31 -0800 From: Jeffrey Hsu Message-Id: <199511021009.CAA24880@freefall.freebsd.org> To: peter Subject: Re: cvs commit: CVSROOT log_accum.pl Cc: CVS-commiters, cvs-CVSROOT Sender: owner-commit@FreeBSD.org Precedence: bulk > From: Peter Wemm > Subject: cvs commit: CVSROOT log_accum.pl > > 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 this doesn't work after this commit, I might commandeer Jeffrey Hsu's > login.. :-) This commit may say 'hsu' though.) I laughed so hard I had tears in my eye.