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

Sam Darwin samuel.d.darwin at gmail.com
Thu May 2 14:34:54 UTC 2013


I would like to add/update these entries into /etc/security/limits.conf

* soft nofile 64000
* hard nofile 64000

Using a command like this:

augtool -s set /files/etc/security/limits.conf/\*/soft/nofile 64000

which is not line order dependent.     if I use domain[1] , that
assumes I know the relevant line is 1, which I don't know.

Can anyone help with the correct command syntax?

Thanks,
Sam




More information about the augeas-devel mailing list