e:
>Forum: CFEngine Help
>Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf
>with cf3
>Author: milindk
>Link to topic:
>https://cfengine.com/forum/read.php?3,24612,24671#msg-24671
>
>Oh no , in my build the limits.conf has last line as # End of File
>
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
Author: milindk
Link to topic: https://cfengine.com/forum/read.php?3,24612,24671#msg-24671
Oh no , in my build the limits.conf has last line as # End of File
I just wanted to have all my config
>Forum: CFEngine Help
>Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf
>with cf3
>Author: milindk
>Link to topic:
>https://cfengine.com/forum/read.php?3,24612,24667#msg-24667
>
>Thanks , I may need to make change on my side too :) then
>
>__
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
Author: milindk
Link to topic: https://cfengine.com/forum/read.php?3,24612,24667#msg-24667
Thanks , I may need to make change on my side too :) then
On 01/24/2012 05:20 PM, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
> Author: milindk
> Link to topic: https://cfengine.com/forum/read.php?3,24612,24641#msg-24641
>
> Does this work ?
Th
Forum: CFEngine Help
Subject: Re: maintaining /etc/security/limits.conf with cf3
Author: barry35malone
Link to topic: https://cfengine.com/forum/read.php?3,21465,24650#msg-24650
WOW!!! awesome post, nice things to follow, thank you very much for this great
piece of work!!!
__
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
Author: milindk
Link to topic: https://cfengine.com/forum/read.php?3,24612,24641#msg-24641
Does this work ?
body common control
{
bundlesequence => { "configfiles" };
inputs =>
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
Author: milindk
Link to topic: https://cfengine.com/forum/read.php?3,24612,24626#msg-24626
The way it is setup it will not replace if there is existing entry
classes:
"${cpattern[$(pa
On 01/23/2012 11:51 AM, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
> Author: milindk
> Link to topic: https://cfengine.com/forum/read.php?3,24612,24621#msg-24621
>
> Can we not use this wa
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3
Author: milindk
Link to topic: https://cfengine.com/forum/read.php?3,24612,24621#msg-24621
Can we not use this way ?
Below is my code snippet
"limits[^\s*sybase\s*hard\s*memlock\s.*$]&qu
Forum: CFEngine Help
Subject: Re: maintaining /etc/security/limits.conf with cf3
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,21465,24617#msg-24617
Nick:
Give this approach a shot. I used it to modify /etc/sysctl.çonf, but there
isn't any reason why you cou
On 01/20/2012 08:51 AM, Nick Anderson wrote:
> On 01/20/2012 01:35 AM, no-re...@cfengine.com wrote:
>> Forum: CFEngine Help
>> Subject: Re: maintaining /etc/security/limits.conf with cf3
>> Author: zzamboni
>> Link to topic: https://cfengine.com/forum/read.php?3,21465,24610#msg-24610
>>
>> The code
On 01/20/2012 01:35 AM, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: maintaining /etc/security/limits.conf with cf3
> Author: zzamboni
> Link to topic: https://cfengine.com/forum/read.php?3,21465,24610#msg-24610
>
> The code below works, if CFEngine is the only thing that tou
Forum: CFEngine Help
Subject: Re: maintaining /etc/security/limits.conf with cf3
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,21465,24610#msg-24610
The code below works, if CFEngine is the only thing that touches the file,
because it needs to empty it every time.
The par
Forum: CFEngine Help
Subject: Re: maintaining /etc/security/limits.conf with cf3
Author: n...@cmdln.org
Link to topic: https://cfengine.com/forum/read.php?3,21465,24596#msg-24596
I stumbled on this today while searching for a solution to maintin the
limits.conf file, curious if anyone was able to
Forum: CFEngine Help
Subject: Re: maintaining /etc/security/limits.conf with cf3
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,21465,23246#msg-23246
Sven,
I came across this old post, and was trying to come up with a more concise way
of solving it. In principle, the code
Forum: Cfengine Help
Subject: Re: maintaining /etc/security/limits.conf with cf3
Author: svenXY
Link to topic: https://cfengine.com/forum/read.php?3,21465,21466#msg-21466
OK, deleting the lines before inserting new ones does the trick fine:
!soft_limit_ok::
delete_lines:
"${user}\s+s
17 matches
Mail list logo