Re: [PATCH v2] id: add feature to accept multiple usernames
From:
Pádraig Brady
Subject:
Re: [PATCH v2] id: add feature to accept multiple usernames
Date:
Sun, 23 Sep 2018 21:01:41 -0700
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 23/07/18 12:39, Achilles Gaikwad wrote:
> Adds a feature to id command to accept multiple usernames and/or uid
> as arguments.
>
> $ id root nobody
> uid=0(root) gid=0(root) groups=0(root)
> uid=99(nobody) gid=99(nobody) groups=99(nobody)
Cool thanks.
The attached adjustments include the following:
- test case to ensure all users processed in the presence of errors
- test portability fixes with sed usage
- fix global variables to have static linkage
- fix a mem leak for pw_name
- Add (texinfo) docs on double NUL behavior
- adjust to GNU coding style
- Add NEWS entry
- spelling/grammar fixes
I'll squash and push later.
thanks!
Pádraig