On 02/05/13 15:34, Sam Darwin wrote: > 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?
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 _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
