diff options
author | Greg Lehey <grog@FreeBSD.org> | 2020-09-29 05:49:45 +0000 |
---|---|---|
committer | Greg Lehey <grog@FreeBSD.org> | 2020-09-29 05:49:45 +0000 |
commit | 314c5b3583aa0761fdbe1af89dcd00d46796838e (patch) | |
tree | d9eaa6781c94b654eedfe19ab0bb1c0fa7839b5e /usr.bin | |
parent | a9f476580eb05efc1637bf7c9eb9602e1592d50f (diff) | |
download | src-314c5b3583aa0761fdbe1af89dcd00d46796838e.tar.gz src-314c5b3583aa0761fdbe1af89dcd00d46796838e.zip |
Document the fact (bug?) that the -a option will normally process
root's calendar files three times, once each for root, toor and
daemon.
This relates to bug 246943, but does not solve it. See discussion in
bug report for more details.
PR: 246943
Reported by: wcarson.bugzilla@disillusion.net
Notes
Notes:
svn path=/head/; revision=366243
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/calendar/calendar.1 | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1 index f90903bc936f..e323a3986b9c 100644 --- a/usr.bin/calendar/calendar.1 +++ b/usr.bin/calendar/calendar.1 @@ -70,9 +70,24 @@ Print lines from today and the next .Ar num days (forward, future). .It Fl a -Process the ``calendar'' files of all users and mail the results +Process the ``calendar'' files for users found in +.Pa /etc/passwd +and mail the results to them. -This requires super-user privileges. +This can result in multiple messages for specific files, since +.Pa /etc/passwd +does not require home directories to be unique. +In particular, by default +.Ar root , +.Ar toor +and +.Ar daemon +share the same home directory. +If this directory contains calendar information, +.Nm +will process the file three times. +.Pp +This option requires super-user privileges. .It Fl B Ar num Print lines from today and the previous .Ar num |