help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Config files


From: Richard Arends
Subject: Re: Config files
Date: Fri, 22 Mar 2002 13:36:20 +0100 (CET)

On 22 Mar 2002, Adrian Phillips wrote:

> It really depends. For files which I significantly different using
> copy is probably a wise choice; but if you have a file which all
> clients need with one line different then editfiles is probably the
> way to go,

Yes, that's true, but i'm also want to use it if some fucked something and
then copy is probably the best option.

For example:

{ /etc/pam.d/login
  AppendIfNoSuchLine "password required pam_cracklib.so retry=3 minlen=8 
difok=4"
}

And someone who isn't that smart, put the following in /etc/pam.d/login:
password required pam_cracklib.so retry=30 minlen=3 difok=4"

Now my 'AppendIfNoSuchLine' wil not match and i have 2 line's for the same
configuration option. In cases like this, copy is the best thing i
think...

Greetings,

Richard.

----
An OS is like swiss cheese, the bigger it is, the more holes you get!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]