Bug 12520

Summary: Missleading comment in example in crontab(5)
Product: Base System Reporter: Rasmus Kaj <kaj>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 1.0-RELEASE   
Hardware: Any   
OS: Any   

Description Rasmus Kaj 1999-07-05 15:40:01 UTC
 Quoted from DESCRIPTION in crontab(5), forth paragraph: 
  
   Several environment variables are set up automatically by the cron(8) 
   daemon.  SHELL is set to /bin/sh, and LOGNAME and HOME are set from 
   the /etc/passwd line of the crontab's owner.  HOME and SHELL may be 
   overridden by settings in the crontab; LOGNAME may not. 
  
 And then from EXAMPLE CRON FILE in the same manpage, first lines: 
  
   # use /bin/sh to run commands, no matter what /etc/passwd says 
   SHELL=/bin/sh

Fix: 

Either remove the first two lines of the example, or change the 
  comment to something like 'be explicit, even though /bin/sh is the  
  default'.
How-To-Repeat:  
  man 5 crontab
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-07-27 15:35:33 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled PR. 
Comment 2 Nick Hibma freebsd_committer freebsd_triage 1999-07-27 17:39:11 UTC
State Changed
From-To: open->closed

Committed. Thanks!