From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 15 21:21:56 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED21106568B for ; Tue, 15 Dec 2009 21:21:56 +0000 (UTC) (envelope-from hkunst@moneyfitness.com) Received: from mail.truebridge.com (mail.truebridge.com [216.75.192.44]) by mx1.freebsd.org (Postfix) with ESMTP id AD25C8FC16 for ; Tue, 15 Dec 2009 21:21:55 +0000 (UTC) Received: (qmail 68753 invoked from network); 15 Dec 2009 16:21:54 -0500 Received: from static-71-243-118-33.bos.east.verizon.net (HELO ?192.168.199.40?) (hkunst@71.243.118.33) by mail.truebridge.com with SMTP; 15 Dec 2009 16:21:54 -0500 Message-ID: <4B27FDA7.3070100@moneyfitness.com> Date: Tue, 15 Dec 2009 16:20:39 -0500 From: Holger Kunst User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0pre Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4B265E27.8050906@moneyfitness.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Email sent from "at" command going to the wrong account X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 21:21:56 -0000 Nate, Thank you for your reply, On 12/14/2009 12:20 PM, Nate Eldredge wrote: > On Mon, 14 Dec 2009, Holger Kunst wrote: > >> The "at" command sends an email with the output of the scheduled job. >> I've experienced inconsistent results when running jobs, receiving >> emails in accounts not associated with the user currently logged in. >> >> To reproduce in FreeBSD 7.2-RELEASE-p2 >> >> Case #1 >> login as user a (new shell through ssh) >> echo "echo 1" | at now >> --> user a will receive an email containing "1" - this is as expected >> >> Case #2 >> login as user a (new shell through ssh) >> login as user b > > How are you accomplishing this? login command from the shell: "login b", enter password Best regards, Holger