From nobody@FreeBSD.ORG Sat May 29 17:00:31 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 2A87214DED; Sat, 29 May 1999 17:00:31 -0700 (PDT)
Message-Id: <19990530000031.2A87214DED@hub.freebsd.org>
Date: Sat, 29 May 1999 17:00:31 -0700 (PDT)
From: icbmx2@yahoo.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: crontab bug in 3.2-R ???
X-Send-Pr-Version: www-1.0

>Number:         11933
>Category:       conf
>Synopsis:       crontab bug in 3.2-R ???
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 17:10:00 PDT 1999
>Closed-Date:    Mon Jun 14 01:34:15 PDT 1999
>Last-Modified:  Mon Jun 14 01:36:33 PDT 1999
>Originator:     Icbm Root
>Release:        3.2-RELEASE
>Organization:
>Environment:
FreeBSD proton 3.2-RELEASE FreeBSD 3.2-RELEASE #3: Fri May 28 18:15:
21 EDT 1999     root@proton:/usr/src/sys/compile/PROTONKERNEL  i386
>Description:
In /etc/crontab, there is a user field.

When crontab is fed to cron, i.e., crontab -u root /etc/crontab, 
the user field is copied to the tab file, i.e., to /var/cron/tabs/root.
When cron executes, it thinks the user field is part of the command.

Docs refer to user field but some samples in man don't.

I'm not sure if I did something wrong in editing that file???
>How-To-Repeat:

>Fix:
Delete the user fields from /etc/crontab before exporting to cron.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jun 14 01:34:15 PDT 1999 
State-Changed-Why:  
User field only exists in /etc/crontab. 

cron(8): 
Cron searches /var/cron/tabs for crontab files which are named after ac- 
counts in /etc/passwd; crontabs found are loaded into memory.  Cron also 
searches for /etc/crontab which is in a different format (see crontab(5)). 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 

crontab(5): 
The format of a cron command is very much the V7 standard, with a number 
of upward-compatible extensions.  Each line has five time and date 
fields, followed by a user name (with optional ``:<group>'' and ``/<lo- 
gin-class>'' suffixes) if this is the system crontab file, followed by a 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
command. 
>Unformatted:
