Bug 15855

Summary: comsat(8) failes to open system mail box
Product: Base System Reporter: kh <kh>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description kh 2000-01-03 08:50:00 UTC
The comsat(8) fails to print the first 7 lines or 560
 	characters of the new mail.  Actually, the fopen(file, "r")
 	system call in jkfprintf() function fails because of inappropriate
 	invoked comsat uid.

How-To-Repeat:  	Execute "biff y" then send any mail to myself and watch the console
 	window.
Comment 1 Steve Price freebsd_committer freebsd_triage 2000-01-03 13:07:14 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled PR. 
Comment 2 dwmalone freebsd_committer freebsd_triage 2001-05-29 15:03:48 UTC
State Changed
From-To: open->closed

It is documented in inetd.conf that if you want a summary of the mail 
printed then you must run comsat as root. Given that people prefer to 
run as little as possible as root these days it is probably correct 
that by default comsat runs as tty.