Calendar

Paul Eggert twinsun!dew!eggert at uunet.uu.net
Wed Jul 4 08:58:46 AEST 1990


R. Hanscom asks:

	What determines if a machine sends out calendar mail?

It depends on which version of SunOS you're running.  Under SunOS 4.1, the
default is to not send out calendar mail.  To turn it on for just
yourself, run `crontab -e' and add a crontab entry like

	1 3 * * * calendar

It's best to do this while logged into the host that owns your calendar
file.

Older versions of SunOS attempt to send calendar mail for everybody using
heuristics that vary with the OS release.  Some releases look in the YP
passwd map; others look in just /etc/passwd.  Some check that the user's
calendar file is not NFS-mounted; others don't.  This is hard to do
efficiently and safely because of home directories mounted over the net,
so Sun eventually gave up.  If your users can't run `crontab -e' because
they're stuck on older SunOS releases, you can tailor the root crontab
entries that invoke /usr/bin/calendar to suit your local conventions.



More information about the Comp.sys.sun mailing list