From owner-svn-doc-projects@FreeBSD.ORG Fri May 17 21:01:18 2013 Return-Path: Delivered-To: svn-doc-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D1665CA8; Fri, 17 May 2013 21:01:18 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C3CB26EC; Fri, 17 May 2013 21:01:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4HL1I3h021483; Fri, 17 May 2013 21:01:18 GMT (envelope-from trhodes@svn.freebsd.org) Received: (from trhodes@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4HL1I4M021482; Fri, 17 May 2013 21:01:18 GMT (envelope-from trhodes@svn.freebsd.org) Message-Id: <201305172101.r4HL1I4M021482@svn.freebsd.org> From: Tom Rhodes Date: Fri, 17 May 2013 21:01:18 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r41656 - projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/config X-SVN-Group: doc-projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for doc projects trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 21:01:18 -0000 Author: trhodes Date: Fri May 17 21:01:18 2013 New Revision: 41656 URL: http://svnweb.freebsd.org/changeset/doc/41656 Log: Mark up "crontab" in . Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/config/chapter.xml Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/config/chapter.xml ============================================================================== --- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/config/chapter.xml Fri May 17 21:00:39 2013 (r41655) +++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/config/chapter.xml Fri May 17 21:01:18 2013 (r41656) @@ -472,11 +472,13 @@ run_rc_command "$1" supposed to perform at certain times. Two different types of configuration files are used by - &man.cron.8;: the system crontab and user crontabs. These - formats only differ in the sixth field and later. In the - system crontab, &man.cron.8; runs the command as the user - specified in the sixth field. In a user crontab, all commands - run as the user who created the crontab, so the sixth field + &man.cron.8;: the system crontab and user + crontabs. These formats only differ in + the sixth field and later. In the system + crontab, &man.cron.8; runs the command as + the user specified in the sixth field. In a user + crontab, all commands run as the user who + created the crontab, so the sixth field is the last field; this is an important security feature. The final field is always the command to run. @@ -486,13 +488,15 @@ run_rc_command "$1" Commands in a user's crontab run with the permissions of the user who owns the crontab. - The root user can have a user crontab - just like any other user. The root user - crontab is separate from the system crontab, - /etc/crontab. - Because the system crontab invokes the specified commands as + The root user can have a user + crontab just like any other user. The + root user crontab + is separate from the system crontab, + /etc/crontab. Because the system + crontab invokes the specified commands as root, there is usually no need to create - a user crontab for root. + a user crontab for + root. Here is a sample entry from @@ -580,7 +584,7 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin Do not use the procedure described here to edit and - install the system crontab, + install the system crontab, /etc/crontab. Instead, use an editor and &man.cron.8; will notice that the file has changed and immediately begin using the updated version. @@ -602,11 +606,12 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin To list installed &man.crontab.5; files, pass to &man.crontab.1;. - Users who wish to begin their own crontab file from - scratch, without the use of a template, can use - crontab -e. This will invoke the default - editor with an empty file. When the file is saved, it will - be automatically installed by &man.crontab.1;. + Users who wish to begin their own + crontab file from scratch, without the + use of a template, can use crontab -e. This + will invoke the default editor with an empty file. When this + file is saved, it will be automatically installed by + &man.crontab.1;. In order to remove a user &man.crontab.5; completely, use crontab -r.