Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] HOSTALLOW_* (<=7.3) -> ALLOW_* (7.4)
- Date: Tue, 05 Jan 2010 11:00:57 -0600
- From: Dan Bradley <dan@xxxxxxxxxxxx>
- Subject: Re: [Condor-users] HOSTALLOW_* (<=7.3) -> ALLOW_* (7.4)
Ben Cotton wrote:
Assuming you don't have any HOSTALLOW or HOSTDENY in places where
you'd want to leave them, you can do what I did and just pass it
through sed:
sed -r "s/HOST(ALLOW|DENY)/\1/g"
I expect this is good in almost all practical cases.
Just for the record, there are possible cases where the above
substitution will change the meaning of the configuration. This happens
when both the old and new-style settings were mixed together in the same
configuration. Example:
DENY_WRITE = bad1.com
HOSTDENY_WRITE = bad2.com
This policy denies access to both bad1.com and bad2.com.
After substitution:
DENY_WRITE = bad1.com
DENY_WRITE = bad2.com
This policy denies only bad2.com.
--Dan