[augeas-devel] /etc/security/limits.conf

Sam Darwin samuel.d.darwin at gmail.com
Thu May 2 16:43:44 UTC 2013


I believe the limits.conf file has a slightly confusing syntax for
augeas, in general, and there may be more problems than just the
wildcard and the line number.

for example, what is the command that would achieve this?   would this
add or update the entry??   did you try, by chance?

augtool -s set /files/etc/security/limits.conf/domain[.='*']/soft/nofile 64000



>>Try this:

>>set /files/etc/security/limits.conf/domain[.='*']/soft/nofile 64000

>>The expression in square brackets is comparing the value of the node
(the ".") to find the wildcard value.

>>--
>>Dominic Cleal
>>Red Hat Engineering




More information about the augeas-devel mailing list