Sunday November 08, 2009 At the request of the users the access hours for Sun Ray users in the house have been relaxed so that on Friday and Saturday nights the Sun Ray's in bedrooms can be used later.
This required that the access hour script be updated to understand the day of the week and hence the access_hour file also is updated in an incompatible way. There is now an extra column representing the days of the week when the rule is applied as the first column after the name of the user. The day of the week field will take a wild card '*' or ranges (1-5) for Monday to Friday, or lists (1,3,5). Sunday is day 0 as any self respecting geek would have it.
The new access_file I have looks something like this:
user0:0-4:0001:2300:P8.00144f7dc383
user2:0-4:0630:2300
user3:0-4:0630:2230
user4:0-4:0630:2100
user4:5-6:0630:2200
The script is still here: http://blogs.sun.com/chrisg/resource/check_access_hours
Except where otherwise noted, this site is
licensed under a Creative Commons License 2.0
This is a personal weblog, I do not speak for my employer.
This blog has moved to: http://chrisgerhard.wordpress.com/.
Comments here are closed comments there are open.