From owner-freebsd-commit Thu Nov 2 10:49:06 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA11378 for freebsd-commit-outgoing; Thu, 2 Nov 1995 10:49:06 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA11350 for cvs-all-outgoing; Thu, 2 Nov 1995 10:49:00 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA11321 for cvs-CVSROOT-outgoing; Thu, 2 Nov 1995 10:48:50 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA11277 ; Thu, 2 Nov 1995 10:48:37 -0800 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id KAA11796; Thu, 2 Nov 1995 10:48:31 -0800 To: Peter Wemm cc: CVS-commiters@freefall.freebsd.org, cvs-CVSROOT@freefall.freebsd.org Subject: Re: cvs commit: CVSROOT log_accum.pl In-reply-to: Your message of "Thu, 02 Nov 1995 01:30:25 PST." <199511020930.BAA23378@freefall.freebsd.org> Date: Thu, 02 Nov 1995 10:48:31 -0800 Message-ID: <11794.815338111@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-commit@FreeBSD.org Precedence: bulk > 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.) Nope, now you're Steven Wallace! Peter Wemm, man of a thousand identities! :-) Jordan