summaryrefslogtreecommitdiffstats
path: root/doc/nft.txt
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-10-29 12:49:00 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-29 15:07:35 +0100
commit1a5153117784c267ceb81c048dd5e9b9c4309fbb (patch)
tree23b5b83b5a8e76c4ed1463e8f93980564f2c3ebd /doc/nft.txt
parent48636e1fe6f6d3141de735f9faf4c359938b837c (diff)
src: default to numeric UID and GID listing
Like iptables-save, print UID and GID as numeric values by default. Add a new option `-u' to print the UID and GID names as defined by /etc/passwd and /etc/group. Note that -n is ignored after this patch, since default are numeric printing for UID and GID. Acked-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/nft.txt')
-rw-r--r--doc/nft.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/nft.txt b/doc/nft.txt
index 711d8a4f..39527c4e 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -52,6 +52,10 @@ For a full summary of options, run *nft --help*.
*--service*::
Translate ports to service names as defined by /etc/services.
+*-u*::
+*--guid**::
+ Translate numeric UID/GID to names as defined by /etc/passwd and /etc/group.
+
*-c*::
*--check*::
Check commands validity without actually applying the changes.