diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-09-20 12:38:00 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-09-22 03:27:17 +0100 |
commit | 7415d8d9f823dae484d3791b425f184f1e3b4cad (patch) | |
tree | ca7c6b5124d25e355d8b210ac1d79ff2b6ffc414 /NEWS | |
parent | f9992690f40646f64d8bd0bfb55faed1980df0ad (diff) | |
download | coreutils-7415d8d9f823dae484d3791b425f184f1e3b4cad.tar.xz |
id: support specifying the user by user ID
* src/id.c (usage): Remove 'name' from the synopsis,
implying that one can also specify by user ID.
(main): Like chown(1), call parse_user_spec() to implement
user name or ID lookup with appropriate precedence.
* doc/coreutils.texi (id invocation): Mention that
a user ID is supported and how '+' affects lookup order.
* tests/misc/id-groups.sh: Remove test now subsumed into...
* tests/misc/id-uid.sh: New test covering new interface.
* tests/local.mk: Rename the test.
* NEWS: Mention the new feature.
Addresses http://bugs.gnu.org/15421
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,6 +50,8 @@ GNU coreutils NEWS -*- outline -*- id and ls with -Z report the SMACK security context where available. mkdir, mkfifo and mknod with -Z set the SMACK context where available. + id can now lookup by user ID, in addition to the existing name lookup. + join accepts a new option: --zero-terminated (-z). As with the sort,uniq option of the same name, this makes join consume and produce NUL-terminated lines rather than newline-terminated lines. |