[15019] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sgi [8.0K]: update

daemon@ATHENA.MIT.EDU (Mike Barker)
Thu Mar 20 09:57:18 1997

To: Jonathon Weiss <jweiss@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Thu, 20 Mar 1997 00:59:49 EST."
             <199703200559.AAA18258@deliverator.MIT.EDU> 
Date: Thu, 20 Mar 1997 09:57:15 EST
From: Mike Barker <mbarker@MIT.EDU>


both of these files are of the format

# This file records whether the
# cron and at allow/deny files have
# been configured, and to disambiguate
# the presence/absence of those files.

configured

man says

     Users are permitted to use crontab if their names appear in the file
     /usr/lib/cron/cron.allow. If that file does not exist, the file
     /usr/lib/cron/cron.deny is checked to determine if the user should be
     denied access to crontab. If neither file exists, only root is allowed to
     submit a job.  If cron.allow does not exist and cron.deny exists but is
     empty, global usage is permitted.  The allow/deny files consist of one
     user name per line.

(at has almost identical language)

if cron.allow exists
	permissions in file
else
	if cron.deny exists
		if entries
			denials in file
		else
			global access
	else (neither file exists)
		root only usage
	endif
endif

I must be missing something--there doesn't seem to be an ambiguity in
that.

maybe someone else will have a better idea of what this is doing.

mike


home help back first fref pref prev next nref lref last post