Add <username> tags around root user
Minor whitespace fix
This commit is contained in:
parent
ea04a4be1e
commit
9c9f480557
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21124
1 changed files with 5 additions and 4 deletions
|
@ -441,7 +441,7 @@ exit 0
|
||||||
<filename>crontab</filename> files store information about specific
|
<filename>crontab</filename> files store information about specific
|
||||||
functions which <command>cron</command> is supposed to perform at
|
functions which <command>cron</command> is supposed to perform at
|
||||||
certain times.</para>
|
certain times.</para>
|
||||||
|
|
||||||
<para>The <command>cron</command> utility uses two different
|
<para>The <command>cron</command> utility uses two different
|
||||||
types of configuration files, the system crontab and user crontabs. The
|
types of configuration files, the system crontab and user crontabs. The
|
||||||
only difference between these two formats is the sixth field. In the
|
only difference between these two formats is the sixth field. In the
|
||||||
|
@ -450,16 +450,17 @@ exit 0
|
||||||
as any user. In a user crontab, the sixth field is the command to run,
|
as any user. In a user crontab, the sixth field is the command to run,
|
||||||
and all commands run as the user who created the crontab; this is an
|
and all commands run as the user who created the crontab; this is an
|
||||||
important security feature.</para>
|
important security feature.</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>User crontabs allow individual users to schedule tasks without the
|
<para>User crontabs allow individual users to schedule tasks without the
|
||||||
need for root privileges. Commands in a user's crontab run with the
|
need for root privileges. Commands in a user's crontab run with the
|
||||||
permissions of the user who owns the crontab.</para>
|
permissions of the user who owns the crontab.</para>
|
||||||
<para>The root user can have a user crontab just like
|
|
||||||
|
<para>The <username>root</username> user can have a user crontab just like
|
||||||
any other user. This one is different from
|
any other user. This one is different from
|
||||||
<filename>/etc/crontab</filename> (the system crontab). Because of the
|
<filename>/etc/crontab</filename> (the system crontab). Because of the
|
||||||
system crontab, there's usually no need to create a user crontab
|
system crontab, there's usually no need to create a user crontab
|
||||||
for root.</para>
|
for <username>root</username>.</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>Let us take a look at the <filename>/etc/crontab</filename> file
|
<para>Let us take a look at the <filename>/etc/crontab</filename> file
|
||||||
|
|
Loading…
Reference in a new issue