Email sent from "at" command going to the wrong account

Holger Kunst hkunst at moneyfitness.com
Tue Dec 15 21:21:56 UTC 2009


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


More information about the freebsd-hackers mailing list