[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] id: add feature to accept multiple usernames
From: |
Sami Kerola |
Subject: |
Re: [PATCH] id: add feature to accept multiple usernames |
Date: |
Mon, 16 Jul 2018 16:55:10 +0100 |
On 15 July 2018 at 19:15, Pádraig Brady <address@hidden> wrote:
> An alternative would be to output '\n' in that case
> which wouldn't be as general, but would be easier to parse
> with existing tools.
Or have you considered using lslogins from util-linux? It gives a lot
of control what to print and how.
lslogins --logins=$USER,nobody --output=USER,GROUP,SUPP-GROUPS
--
Sami Kerola
http://www.iki.fi/kerolasa/